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
All Developer Utility Tools →SQL Formatter & Beautifier Online
Format, indent, and beautify SQL queries online. Supports SE...
Online Code Formatter
Format and prettify HTML, CSS, JavaScript, JSON, and XML cod...
HTML Live Preview Tool Online
Preview and test HTML code live in your browser. Switch betw...
CSS Custom Scrollbar Generator
Design and generate custom CSS scrollbar styles with a visua...
CSS Gradient Generator
Create beautiful linear and radial CSS gradients with a visu...
Color Strip Generator Online
Generate harmonious color strips using complementary, triadi...