Text Escape / Unescape
NewDeveloperType 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
What is Text Escape / Unescape?
Escape text as a JSON or JavaScript string, or decode escaped values.
How do I use Text Escape / Unescape?
Type or paste your data into the field on this page and press the button. The result is calculated instantly in your browser — nothing is uploaded.
Is Text Escape / Unescape free?
Yes, Text Escape / Unescape is completely free. No signup, no downloads and no usage limits.
All guides
Similar tools
View all toolsPopular tools
View all toolsWant to share what you created? Try linklyhub.com for a short, clean link.