Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Online JSON Converter from String

Convert a JSON string into real JSON (unescape + parse), or turn JSON into an escaped JSON string. Pretty print, minify, copy, and validate—client-side.

Privacy: runs locally in your browser. No uploads, no tracking scripts.

How to use

Choose the conversion direction, paste your text, then convert.

  1. Select String → JSON to unescape and parse a JSON string, or JSON → String to generate an escaped JSON string literal.
  2. Paste your content into Input.
  3. Click Convert. Use Pretty or Minify if needed.
  4. 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).

Continue your workflow

Browse related tools by task. Use the improved core tools for a consistent workspace with file import, downloads and clear validation errors.