Characters Escape & Unescape

Escape Level
Escape Quote
JSON Compatible
ES6 Compatible
Uppercase Hex

Escapes Special Characters in a string so that they do not cause conflicts. For example, Don't stop me now becomes Don\'t stop me now.

Supports the following escape sequences:

  • \n (Line feed/newline)

  • \r (Carriage return)

  • \t (Horizontal tab)

  • \b (Backspace)

  • \f (Form feed)

  • \xnn (Hex, where n is 0-f)

  • \\ (Backslash)

  • \' (Single quote)

  • \" (Double quote)

  • \unnnn (Unicode character)

  • \u{nnnnnn} (Unicode code point)


Unescapes Characters in a string that have been escaped. For example, Don\'t stop me now becomes Don't stop me now.

Supports the following escape sequences:

  • \n (Line feed/newline)

  • \r (Carriage return)

  • \t (Horizontal tab)

  • \b (Backspace)

  • \f (Form feed)

  • \nnn (Octal, where n is 0-7)

  • \xnn (Hex, where n is 0-f)

  • \\ (Backslash)

  • \' (Single quote)

  • \" (Double quote)

  • \unnnn (Unicode character)

  • \u{nnnnnn} (Unicode code point)

 

References

https://wikipedia.org/wiki/Escape_sequence

Featured Tools

Featured tools that you might find useful.

Popular Tools

List of popular tools that users love and frequently use.

New Tools

The latest tools added to our collection, designed for you.

Topics

The tools grouped by topics to quickly find what you need.
A1Z26 Cipher, is a simple substitution cipher that replaces each letter of the alphabet with its corresponding numerical position in the alphabet.

A1Z26 Cipher

A1Z26 Cipher, is a simple substitution cipher that replaces each letter of the alphabet with its corresponding numerical position in the alphabet.
ADFGVX Cipher is a transposition and substitution cipher used during World War I by the German Army. The name

ADFGVX Cipher

ADFGVX Cipher is a transposition and substitution cipher used during World War I by the German Army. The name "ADFGVX" comes from the six possible letters used in the cipher: A, D, F, G, V, and X.
The ADFGX Cipher is a fractionating transposition cipher which combined a modified Polybius square with a single columnar transposition. It is closely related to the ADFGVX Cipher.

ADFGX Cipher

The ADFGX Cipher is a fractionating transposition cipher which combined a modified Polybius square with a single columnar transposition. It is closely related to the ADFGVX Cipher.
Affine Cipher is a type of monoalphabetic substitution cipher. It encrypts a text using an affine function (f(x) = ax + b).

Affine Cipher

Affine Cipher is a type of monoalphabetic substitution cipher. It encrypts a text using an affine function (f(x) = ax + b).