Ensure
Home
All tools
Guides
About
Search tools
K
Home
All tools
Data & JSON
Escape JSON String
Data & JSON
Escape JSON String
Turn raw text into a JSON string literal, and back again.
Escape
Unescape
Keep the surrounding quotes
Swap
Raw text
Escaped string
Copy
Guides that cover this
What gets lost converting between JSON, YAML, CSV and XML
How JSON, YAML, CSV, XML and TOML differ on comments, types, nesting, dates and key order, and which of those details each conversion between them quietly throws away.
Related tools
JSON Formatter
Validate, beautify or minify JSON with clear error reporting.
Data & JSON
JSON to CSV
Turn an array of JSON objects into a CSV file.
Data & JSON
CSV to JSON
Parse CSV into JSON, with header detection and type inference.
Data & JSON
YAML ⇄ JSON
Convert YAML to JSON and back again in either direction.
Data & JSON