Skip to content
Accessibility
Theme
Text size
High contrast
Limit animations
Readable fontAtkinson Hyperlegible
Increased text spacing
Underline links
Always show focus

Runs in your browser — nothing you paste is uploaded.

Escape & Unescape

Escape a string for JSON, JavaScript, HTML or SQL — or reverse it. Runs in your browser.


    

Formats

JSON and JavaScript escape quotes, backslashes and control characters (JS also escapes single quotes). HTML uses entities for the reserved characters. SQL doubles single quotes (' → '') for use inside a quoted literal.

Unescape

Tick Unescape to reverse: JSON/JS unescape sequences like \\n and \\", HTML decodes entities, and SQL collapses '' back to '.

Privacy

All processing is local; nothing is uploaded.

Related tools