HTML
<a href="x">
JS string
"<a href=\"x\">"
Developer Tools
Escape multi-line HTML, JSON, or quote-heavy text for languages such as JavaScript, Java, and SQL so you can paste it into string literals without syntax errors.
Favorite this tool
No favorite storage mode has been selected.
Quick actions
Copy this tool URL or open the system share sheet on a supported device.
开发工具
等待输入
HTML
<a href="x">
JS string
"<a href=\"x\">"
SQL does not use backslash escapes here; single quotes are doubled.
Tools
Continue with another translated tool for a nearby task.
JSON Formatter
Format, minify, sort, and validate JSON in your browser. Parsing errors include location details, and your data never leaves the page.
Escape Visualizer
Visualize invisible characters locally in your browser, including tabs, newlines, BOM, and zero-width characters. Useful when paste or copy artifacts break parsing.