String Escape & Unescape

Escape or unescape strings for JSON, JavaScript, and XML

🔒 100% di browser🆓 Gratis selamanya⚡ Tanpa signup
Catatan: Interface tool di bawah saat ini baru tersedia dalam bahasa Inggris. Kami sedang menerjemahkan UI satu per satu. Lihat tool ini dalam bahasa Inggris →

Cara pakai

  1. 1
    Paste a string

    Drop the raw or escaped string you want to convert.

  2. 2
    Pick a format

    Choose JSON, JavaScript, or XML - escape or unescape direction.

  3. 3
    Copy the result

    One click sends the transformed string to your clipboard.

Tentang String Escape & Unescape

Free online string escape tool. Escape or unescape strings for JSON, JavaScript source, or XML/HTML. Handles quotes, backslashes, unicode escapes, and named entities. Runs entirely in your browser. String Escape & Unescape di 712 Tools jalan sepenuhnya di browser kamu pakai JavaScript API native - tidak ada server yang pernah melihat data kamu. Artinya hasil instan, privasi penuh, dan tanpa batas upload.

Buat sesi debug, quick sanity check, atau incident produksi - tool ini gratis dipakai sebanyak yang kamu butuh. Tanpa watermark, tanpa signup, dan tanpa ads di dalam tool.

Pertanyaan yang sering ditanyakan

JSON vs JS escaping - what's different?

JSON only allows double quotes and uses \uXXXX for control chars. JS also supports single quotes and \xNN. Pick the target that matches where the string will live.

What about HTML entities?

Use XML escape - it handles the five predefined entities (& < > " ') that are safe in both XML and HTML.

Does it handle multi-byte characters?

Yes. JS escape mode produces \uXXXX for all non-ASCII characters, so the string round-trips through any encoding.