DataStays

JSON String Escape

Turn text into a JSON string literal — quotes, newlines, and special characters escaped — or reverse it. Handy for pasting a multi-line blob into a JSON field, or reading a value that's been escaped twice. The unescape side expects a quoted JSON string literal, not raw text.