Text Escape / Unescape

NewDeveloper

Type plain text and escape quotes, backslashes and special characters for use in JSON and JavaScript strings. Or paste escaped text and decode it back to a readable string. All local.

Type some text and choose escape or unescape.

Escaping converts quotes and backslashes so a string is valid inside JSON and JavaScript source code.

What is text escaping?

In JSON and JavaScript, certain characters have special meaning: quotes open and close strings, and backslashes start escape sequences. Escaping prefixes those characters with a backslash so a string can be stored or embedded safely.

When is unescaping useful?

API logs, config dumps and database exports often arrive fully escaped and hard to read. Pasting such text here decodes it back to plain, readable content in one click instead of editing it by hand.

Frequently Asked Questions

All guides

Similar tools

View all tools

Popular tools

View all tools

Want to share what you created? Try linklyhub.com for a short, clean link.