logo image

Slash text escaper tool Online

Load Sample

About slash text escaper tool

A simple, efficient and free online tool to quickly add slash before the special characters in your text. It adds back slash before all the below special symbols:

  • backspace (\b)
  • form feed (\f)
  • newline (\n)
  • carriage return (\r)
  • horizontal tab (\t)
  • vertical tab (\v)
  • null (\0)
  • single quote (')
  • double quote (")
  • backslash ( \ )


  1. Enter or paste the text in the Enter text text area.
  2. Click on Escape button to see the result in the Result text text area.

Sample Input

Hello 'Foo'.\n Welcome to "OneCompiler".

Sample Output

Hello \'Foo\'.\\n Welcome to \"OneCompiler\".

┬ęCopyright 2020 OneCompiler | Privacy Policy | Terms & Conditions | About