使用繁體中文瀏覽?切換到繁體中文
使用简体中文浏览?切换到简体中文
日本語で表示しますか?日本語に切り替える
한국어로 보시겠어요?한국어로 전환
ดูหน้านี้เป็นภาษาไทยไหม?เปลี่ยนเป็นภาษาไทย
Lihat halaman ini dalam bahasa Indonesia?Beralih ke bahasa Indonesia
Xem trang này bằng tiếng Việt?Chuyển sang tiếng Việt
यह पेज हिन्दी में देखें?हिन्दी में बदलें
Voir cette page en français ?Passer au français
Diese Seite auf Deutsch ansehen?Zu Deutsch wechseln
¿Ver esta página en español?Cambiar a español
Visualizzare questa pagina in italiano?Passa all'italiano
Deze pagina in het Nederlands bekijken?Overschakelen naar Nederlands
Wyświetlić tę stronę po polsku?Przełącz na polski
Ver esta página em português?Mudar para português
Открыть страницу на русском?Переключить на русский
Bu sayfayı Türkçe görüntülemek ister misiniz?Türkçeye geç
عرض هذه الصفحة بالعربية؟التبديل إلى العربية
Skip to content

JSON Escape/Unescape

JSON Escape/Unescape converts raw text to JSON-safe string content and decodes escaped JSON string content back to readable text locally.

Input Text

Output complete JSON string

JSON Escape/Unescape

Quick Start

1
Paste raw text, escaped content, or a quoted JSON string.
2
Enable Output complete JSON string if you need outer quotes, then click Escape.
3
Click Unescape to read escaped quotes, backslashes, and newlines.
4
Copy the current editor text.

Common Scenarios

Embed text in JSON

escape quotes, backslashes, tabs, and line breaks before placing text inside a JSON string

Debug payloads

unescape copied string content to inspect the readable text

Logs and errors

decode escaped newlines and quotes from API logs or test fixtures

Code samples

prepare safe JSON string content for examples, fixtures, or request bodies

Usage Advice

By default, Escape outputs string content without outer quotes: Hello → Hello. With Output complete JSON string enabled, it outputs a complete JSON string: Hello → "Hello".
Unescape accepts both escaped content and a full quoted JSON string literal
Use JSON Formatter when you need to validate, format, minify, or sort a full JSON object

Escape Boundaries

String only: this tool handles JSON string content, not full JSON objects, arrays, numbers, booleans, or null
Invalid input: malformed sequences such as \x, incomplete \u escapes, or unterminated quoted strings show an error
Escaping is not encryption and does not hide secrets

Privacy & Security

JSON string escaping runs locally in your browser. Source text may stay as a browser draft. If a saved workspace or WebDAV sync is enabled, that text may be saved through that sync. Escape, Unescape, and copied text all use the same editor content; this tool does not upload files, create attachments, export files, or save a separate result state.
Do not treat escaped output as protected data. Passwords, tokens, and keys remain readable after unescape.

FAQ

7

Continue with these related tools for the next step.

Community

© CrateX.app · All Rights Reserved