String Escape/Unescape (JS)

Escape strings to JavaScript-safe form (quotes, newlines, control chars) and unescape them back.

使い方

Escape special characters to \n, \", \\ etc., or unescape them back.

Data is processed entirely in your browser; nothing is uploaded to our servers.