PrimeUtil

String Escape / Unescape

Escape and unescape strings across multiple formats in one place β€” JSON strings, URL percent-encoding, HTML entities, SQL string literals, and regex special characters. Switch formats instantly with a click. Essential for debugging API payloads and building test scripts.

Format

Escape special characters for use inside a JSON string value

Result will appear here.

JSON Escape Sequences

CharacterEscapedDescription
"\"Double quote
\\\Backslash
(newline)\nLine feed
(tab)\tHorizontal tab
(carriage return)\rCarriage return
(form feed)\fForm feed
(backspace)\bBackspace

Features

  • JSON string escaping and unescaping
  • URL percent-encoding and decoding
  • HTML entity encoding and decoding
  • SQL string literal escaping
  • Regex special character escaping

Frequently Asked Questions