Back to Free Tools

FREE TOOLS

JSON string escape and unescape

Convert plain text to a quoted JSON string and back.

Plain text

UTF-8 text

Browser only

Your input and output are processed in this browser. They are not uploaded for processing. No account is required.

This tool needs JavaScript. If it does not load, refresh the page and try again.

How to use this tool

  1. Paste your input in the labelled field.
  2. Choose the operation and settings that match your task.
  3. Run the tool, review the result and download it if needed. All processing stays in your browser.

Examples

hello world ↔ "hello\nworld"

Limitations

Decoding requires the surrounding double quotes.

Objects, arrays, numbers and unpaired Unicode surrogates are rejected.

Related tools

No items found.

More tools for your workflow

Explore the related desktop tool