← Back to Tools
String Escaper
Escape and unescape strings for JSON, URL, and HTML
Escape Modes
JSON: Escapes special characters for JSON strings (quotes, backslashes, newlines, tabs, etc.)
Hello "World"\n → Hello \"World\"\\n
URL: Encodes strings for use in URLs (percent-encoding)
Hello World! → Hello%20World%21
HTML: Converts special characters to HTML entities
<div class="test"> → <div class="test">