- Regex Online Converter
- Base64 Formatter Online
- Online UUID Converter
- Online UUID Generator v4
- XML Formatter Online
- XML Formatter
How to use
Choose the conversion direction, paste your text, then convert.
- Select String → JSON to unescape and parse a JSON string, or JSON → String to generate an escaped JSON string literal.
- Paste your content into Input.
- Click Convert. Use Pretty or Minify if needed.
- Click Copy Output to copy the result.
FAQ
What does “String → JSON” do?
It unescapes a JSON string (like "{\"a\":1}") and then parses the inner JSON so you get real formatted JSON.
What if my input is already normal JSON (no extra quotes/backslashes)?
It will be parsed and then pretty-printed or minified based on your output settings.
Can it handle escaped JSON without the outer quotes?
Yes—if you paste something like {\"a\":1}, the tool tries to interpret it as an escaped JSON string and then parse it.
What does “JSON → String” produce exactly?
It outputs a JSON string literal that contains your JSON (escaped), e.g. {"a":1} becomes "{\"a\":1}".
Why do I get an “Invalid JSON” error?
Common causes are trailing commas, single quotes, or invalid escape sequences. Fix the input and convert again.
Is my data uploaded anywhere?
No. The conversion runs in your browser only; this tool does not send network requests.
Does it support arrays, numbers, booleans, and null?
Yes—any valid JSON value is supported (object, array, string, number, boolean, or null).