Skip to content
Toolbox

String Escape / Unescape

Escape text as a JSON, JavaScript or PHP string literal, or turn one back into plain text. Invalid escape sequences point to their line and column.

Text
Escaped
Type text on the left to escape it as a string literal.