Skip to content

Escape JSON strings for embedding in other JSON or unescape escaped JSON strings. Auto-detection and special character handling.

Notifications You must be signed in to change notification settings

spoold-com/json-escape-unescape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

JSON Escape/Unescape

Try it Free No sign-up Client-side

Escape JSON strings for embedding in other JSON or unescape escaped JSON strings. Auto-detection and special character handling.

Features

  • Escape quotes, backslashes, newlines for safe JSON embedding
  • Unescape already-escaped JSON strings to plain text
  • Handles Unicode and control characters correctly
  • Bidirectional; paste either form and convert
  • Useful for configs, env vars, or nested JSON

Why use this tool

When you need a JSON string inside another JSON value or in a config file, escaping by hand is error-prone. This does it correctly every time.

Try it

Try JSON Escape/Unescape at Spoold →


More from Spoold

Spoold is a free developer toolbox that detects what you paste and opens the right tool.

  • No sign-up – Use every tool without an account.
  • Runs in your browser – Your data stays on your device; we don’t store or log your input.
  • Paste and go – Paste JSON, HTML, JWT, curl, Base64, or any text on the homepage and Spoold suggests the right tool.
  • One place for many tools – JSON formatter, JWT decoder, Base64, UUID generator, regex tester, curl-to-code, and more.

Open Spoold →