JSON Escape / Unescape
Escape a string for use inside a JSON value, or unescape a JSON-escaped string.
JSON Escape wraps a raw string in JSON encoding rules: backslashes, quotes, newlines, tabs, and control characters are escaped with backslash sequences. Unescape reverses this — useful for reading escaped JSON string values.
Frequently Asked Questions
- Double quotes (" → \"), backslashes (\ → \\), newlines (→ \n), carriage returns (→ \r), tabs (→ \t), and other control characters.
Related Tools
CSS FormatterMinify or beautify CSS stylesheetsJS FormatterMinify or beautify JavaScript codeHTML FormatterBeautify or minify HTML markupHTML EscapeEscape special HTML characters to entitiesHTML StripperRemove all HTML tags to extract plain textHTML EntitiesSearchable reference for all HTML entity codesSQL FormatterBeautify and format SQL queriesXML FormatterFormat, validate, and minify XML documents instantly