sapienkit
Files never leave your browser

Escape and Unescape Strings for Code

100% browser-basedFiles never leave your deviceFree & unlimited

Escape strings for JSON, HTML, URLs, JavaScript, or other contexts — or reverse the process to get the original text back. Handles quotes, backslashes, angle brackets, and special characters.

A time saver when you're building queries, embedding user input safely, or debugging escaped text that's become unreadable. Paste the messy string and get the clean version.

String Escape
Input (raw text)
Output (escaped)
HTML Entities · Escape modeHTML Entities · Escape

Frequently Asked Questions — String Escape / Unescape

HTML, JSON, URL, XML, JavaScript, and CSV. Each has its own escaping rules.

Yes. Both directions — escape and unescape. Paste escaped text to get the original back.

When embedding user input in HTML, building JSON strings manually, or debugging URL-encoded values.