Escape and unescape special characters for HTML, JSON, URLs, and CSV formats.
Select "HTML" as the format, choose "Escape", paste your text containing special characters (<, >, &, ", '), and click "Process". The tool converts them to HTML entities (<, >, &, ", ') safe for display in HTML.
Escape converts special characters to their encoded form (e.g., < becomes < in HTML, space becomes %20 in URLs). Unescape reverses this, converting encoded characters back to their original form. Use escape when preparing data for output, unescape when reading encoded data.
Yes! Select "JSON" format and the tool will escape special characters including quotes (" becomes \"), newlines (\n), tabs (\t), and backslashes (\ becomes \\). This makes strings safe to include in JSON data without breaking the syntax.
Select "URL" format and "Escape". The tool converts spaces to %20, special characters to percent-encoded format (e.g., ! becomes %21, # becomes %23). This ensures URLs are safe to transmit and won't break when special characters are present.
The tool follows RFC 4180 CSV standards: fields with commas, quotes, or newlines are wrapped in double quotes, and internal quotes are doubled (""). For example, the value: Say "Hi" becomes "Say ""Hi""" in CSV.
Yes! HTML escaping is crucial for preventing XSS (Cross-Site Scripting) attacks. By converting <, >, and other special characters to HTML entities, you prevent user input from being executed as HTML/JavaScript code. Always escape user-generated content before displaying it.
Character escaping is crucial for data safety and proper formatting across different systems. This tool makes it easy to convert between human-readable and encoded formats.