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.
Caesar Cipher, also known as Shift Cipher, or Caesar Shift, is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher in which each letter in the plaintext is replaced by a letter some fixed number of positions down the alphabet.

Caesar Cipher

Caesar Cipher, also known as Shift Cipher, or Caesar Shift, is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher in which each letter in the plaintext is replaced by a letter some fixed number of positions down the alphabet.
The Enigma Cipher was a field cipher used by the Germans during World War II. The Enigma is one of the better known historical encryption machines, and it actually refers to a range of similar cipher machines.

Enigma Cipher

The Enigma Cipher was a field cipher used by the Germans during World War II. The Enigma is one of the better known historical encryption machines, and it actually refers to a range of similar cipher machines.
Hill Cipher is a polygraphic substitution cipher based on linear algebra. Invented by Lester S. Hill in 1929, it was the first polygraphic cipher in which it was practical (though barely) to operate on more than three symbols at once. It used matrices and matrix multiplication to mix up the plaintext.

Hill Cipher

Hill Cipher is a polygraphic substitution cipher based on linear algebra. Invented by Lester S. Hill in 1929, it was the first polygraphic cipher in which it was practical (though barely) to operate on more than three symbols at once. It used matrices and matrix multiplication to mix up the plaintext.
Homophonic Substitution Cipher is a substitution cipher in which single plaintext letters can be replaced by any of several different ciphertext letters. They are generally much more difficult to break than standard substitution ciphers.

Homophonic Substitution Cipher

Homophonic Substitution Cipher is a substitution cipher in which single plaintext letters can be replaced by any of several different ciphertext letters. They are generally much more difficult to break than standard substitution ciphers.