Escape quotes for JSON
Escaping quotes lets the text be safely used inside a JSON string value.
Input
He said "Hello World"
Output
He said \"Hello World\"
Escape or unescape strings for JSON, JavaScript, HTML, and debugging workflows. Convert quotes, line breaks, tabs, and entities locally.
View all Developer ToolsContinue Workflow
Encode HTML-sensitive characters to entities or decode entities back to readable text.
Encode or decode URL strings for safe web transmission using standard percent-encoding.
Format, validate, minify, and beautify JSON data with syntax error detection.
Escaping quotes lets the text be safely used inside a JSON string value.
Input
He said "Hello World"
Output
He said \"Hello World\"
Visible escape sequences make line breaks and tabs easier to place inside code or JSON examples.
Input
Line one
Line two Tabbed
Output
Line one\nLine two\tTabbed