JSON and Text Escape

This JSON and Text escape tool takes care of characters that are not compatible with JSON rules and converts them to an equivalent. This can be also used to escape plain text .

The following characters/symbols will be escaped:

  • Newline \n
  • Backslash \
  • Unicode symbols 😀
  • Single quotes '
  • Double quotes "

Other special characters will be stripped:

  • Tab \t
  • Carriage return \r
  • Backspace \b
  • Form feed \f
  • Unicode null \0

This can be used to escape chars from your string or text.

The JSON escape tool is based on Escape Route library/.