About this tool
Convert real newlines and tabs to backslash sequences or expand them back, entirely in your browser.
Frequently asked questions
Which sequences are supported?
Escaping handles backslash, newline, tab, carriage return and double quote; unescaping also expands \uXXXX code points.
Does it parse JSON?
No — it works directly on backslash sequences in plain text rather than full JSON values.