String Escape/Unescape
Escape or unescape strings for JSON, HTML, URL, JavaScript, CSV, and other formats.
HTML Encoding
Converts special HTML characters like <, >, &, ", and ' to their HTML entity equivalents.
Quick Reference
HTML Entities
JavaScript Escapes
URL Encoding
About string escaping
Different data formats require different characters to be escaped. In JSON, double quotes and backslashes must be preceded by a backslash. In HTML, angle brackets and ampersands must be converted to entities. In URLs, spaces and special characters must be percent-encoded.
This tool handles escaping and unescaping for multiple formats. It is useful when constructing test data, debugging encoding issues, or preparing strings for insertion into different contexts.
Related Tools
Text Diff Checker
Compare two text blocks and highlight differences side by si...
Word Counter & Character Count Tool
Count words, characters, sentences, paragraphs, and estimate...
Duplicate Line Remover Online
Remove duplicate lines from text online with case-sensitive...
Text Line Sorter
Sort text lines alphabetically, numerically, by length, or r...