Escape Text

cross-browser testing tools

World's simplest string escaper for web developers and programmers. Just paste your text in the form below, press Add Slashes button, and all quotes and backslashes get escaped. Press button, add backslashes. No ads, nonsense or garbage.
51K
Announcement: We just launched math tools for developers. Check it out!

Want to unescape a string?

Use the Strip Slashes tool!

Looking for more web developer tools? Try these!

URL Encoder

URL Decoder

URL Parser

HTML Encoder

HTML Decoder

Base64 Encoder

Base64 Decoder

HTML Prettifier

HTML Minifier

JSON Prettifier

JSON Minifier

JSON Escaper

JSON Unescaper

JSON Validator

JS Prettifier

JS Minifier

JS Validator

CSS Prettify

CSS Minifier

XML Prettifier

XML Minifier

XML to JSON Converter

JSON to XML Converter

XML to CSV Converter

CSV to XML Converter

XML to YAML Converter

YAML to XML Converter

YAML to TSV Converter

TSV to YAML Converter

XML to TSV Converter

TSV to XML Converter

XML to Text Converter

JSON to CSV Converter

CSV to JSON Converter

JSON to YAML Converter

YAML to JSON Converter

JSON to TSV Converter

TSV to JSON Converter

JSON to Text Converter

CSV to YAML Converter

YAML to CSV Converter

TSV to CSV Converter

CSV to TSV Converter

CSV to Text Columns Converter

Text Columns to CSV Converter

TSV to Text Columns Converter

Text Columns to TSV Converter

CSV Transposer

CSV Columns to Rows Converter

CSV Rows to Columns Converter

CSV Column Swapper

CSV Column Exporter

CSV Column Replacer

CSV Column Prepender

CSV Column Appender

CSV Column Inserter

CSV Column Deleter

CSV Delimiter Changer

TSV Transposer

TSV Columns to Rows Converter

TSV Rows to Columns Converter

TSV Column Swapper

TSV Column Exporter

TSV Column Replacer

TSV Column Prepender

TSV Column Appender

TSV Column Inserter

TSV Column Deleter

TSV Delimiter Changer

Delimited Column Exporter

Delimited Column Deleter

Delimited Column Replacer

Text Transposer

Text Columns to Rows Converter

Text Rows to Columns Converter

Text Column Swapper

Text Column Delimiter Changer

HTML to Markdown Converter

Markdown to HTML Converter

HTML to Jade Converter

Jade to HTML Converter

BBCode to HTML Converter

BBCode to Jade Converter

BBCode to Text Converter

HTML to Text Converter

HTML Stripper

Text to HTML Entities Converter

UNIX time to UTC time Converter

UTC time to UNIX time Converter

IP to Binary Converter

Binary to IP Converter

IP to Decimal Converter

Octal to IP Converter

IP to Octal Converter

Decimal to IP Converter

IP to Hex Converter

Hex to IP Converter

IP Address Sorter

MySQL Password Generator

MariaDB Password Generator

Postgres Password Generator

Bcrypt Password Generator

Bcrypt Password Checker

Scrypt Password Generator

Scrypt Password Checker

ROT13 Encoder/Decoder

ROT47 Encoder/Decoder

Punycode Encoder

Punycode Decoder

Base32 Encoder

Base32 Decoder

Base58 Encoder

Base58 Decoder

Ascii85 Encoder

Ascii85 Decoder

UTF8 Encoder

UTF8 Decoder

UTF16 Encoder

UTF16 Decoder

Uuencoder

Uudecoder

Morse Code Encoder

Morse Code Decoder

XOR Encryptor

XOR Decryptor

AES Encryptor

AES Decryptor

RC4 Encryptor

RC4 Decryptor

DES Encryptor

DES Decryptor

Triple DES Encryptor

Triple DES Decryptor

Rabbit Encryptor

Rabbit Decryptor

NTLM Hash Calculator

MD2 Hash Calculator

MD4 Hash Calculator

MD5 Hash Calculator

MD6 Hash Calculator

RipeMD128 Hash Calculator

RipeMD160 Hash Calculator

RipeMD256 Hash Calculator

RipeMD320 Hash Calculator

SHA1 Hash Calculator

SHA2 Hash Calculator

SHA224 Hash Calculator

SHA256 Hash Calculator

SHA384 Hash Calculator

SHA512 Hash Calculator

SHA3 Hash Calculator

CRC16 Hash Calculator

CRC32 Hash Calculator

Adler32 Hash Calculator

Whirlpool Hash Calculator

All Hashes Calculator

Seconds to H:M:S Converter

H:M:S to Seconds Converter

Seconds to Human Readable Time

Binary to Octal Converter

Binary to Decimal Converter

Binary to Hex Converter

Octal to Binary Converter

Octal to Decimal Converter

Octal to Hex Converter

Decimal to Binary Converter

Decimal to Octal Converter

Decimal to Hex Converter

Hex to Binary Converter

Hex to Octal Converter

Hex to Decimal Converter

Decimal to BCD Converter

BCD to Decimal Converter

Octal to BCD Converter

BCD to Octal Converter

Hex to BCD Converter

BCD to Hex Converter

Binary to Gray Converter

Gray to Binary Converter

Octal to Gray Converter

Gray to Octal Converter

Decimal to Gray Converter

Gray to Decimal Converter

Hexadecimal to Gray Converter

Gray to Hexadecimal Converter

Binary Sum Calculator

Binary Product Calculator

Binary Bitwise AND Calculator

Binary Bitwise NAND Calculator

Binary Bitwise OR Calculator

Binary Bitwise NOR Calculator

Binary Bitwise XOR Calculator

Binary Bitwise XNOR Calculator

Binary Bitwise NOT Calculator

Binary Bit Inverter

Binary Bit Reverser

Binary Number Rotator

Binary Bit Rotator to the Left

Binary Bit Rotator to the Right

Number Base Converter

Roman to Decimal Converter

Decimal to Roman Converter

Numbers to Words Converter

Words to Numbers Converter

Round Numbers Up

Round Numbers Down

UTF8 to Hex Converter

Hex to UTF8 Converter

Text to ASCII Codes Converter

ASCII to Text Converter

Text to Binary Converter

Binary to Text Converter

Text to Octal Converter

Octal to Text Converter

Text to Decimal Converter

Decimal to Text Converter

Text to Hex Converter

Hex to Text Converter

Text to Lowercase Converter

Text to Uppercase Converter

Text to Randomcase Converter

Text to Titlecase Converter

Capitalize Words in Text

Text Case Inverter

Truncate Text Lines

Trim Text Lines

Spaces to Tabs Converter

Tabs to Spaces Converter

Spaces to Newlines Converter

Newlines to Spaces Converter

Character Accent Remover

Extra Whitespaces Remover

All Whitespaces Remover

Punctuation Mark Remover

Thousands Separator Adder

Backslash Remover

Backslash Adder

Text Transformer

Text Repeater

Text Replacer

Text Reverser

Text Rotate

Text Character Rotator to the Left

Text Character Rotator to the Right

Text Length Calculator

Alphabetic Text Sorter

Numeric Text Sorter

Text by Length Sorter

Text From Regex Generator

Center Text

Right-Align Text

Left-Pad Text

Right-Pad Text

Justify Text

Text Column Formatter

Regex Match Extractor

Regex Match Replacer

Email Extractor

URL Extractor

Number Extractor

List Merger

List Zipper

List Intersection

List Difference

Printf Formatter

Text Grep

Text Head

Text Tail

Line Range Extractor

Word Sorter

Word Wrapper

Word Splitter

Add Line Numbers

Add Line Prefixes

Add Line Suffixes

Append Prefix and Suffix

Find Longest Text Line

Find Shortest Text Line

Duplicate Line Remover

Empty Line Remover

Text Line Randomizer

Letter Randomizer

Text Line Joiner

String Splitter

Text Line Reverser

Text Line Filter

Number of Letters in Text Counter

Number of Words in Text Counter

Number of Lines in Text Counter

Number of Paragraphs in Text Counter

Letter Frequency Calculator

Word Frequency Calculator

Phrase Frequency Calculator

Text Statistics

Random Element Picker

Random JSON Generator

Random XML Generator

Random YAML Generator

Random CSV Generator

Random TSV Generator

Random Password Generator

Random String Generator

Random Number Generator

Random Fraction Generator

Random Bin Generator

Random Oct Generator

Random Dec Generator

Random Hex Generator

Random Byte Generator

Random IP Generator

Random MAC Generator

Random UUID Generator

Random GUID Generator

Random Date Generator

Random Time Generator

Prime Number Generator

Fibonacci Number Generator

Pi Digit Generator

E Digit Generator

Decimal to Scientific Converter

Scientific to Decimal Converter

JPG to PNG Converter

PNG to JPG Converter

GIF to PNG Converter

GIF to JPG Converter

BMP to PNG Converter

BMP to JPG Converter

Image to Base64 Converter

File to Base64 Converter

JSON to Base64 Converter

XML to Base64 Converter

Hex to RGB Converter

RGB to Hex Converter

CMYK to RGB Converter

RGB to CMYK Converter

CMYK to Hex Converter

Hex to CMYK Converter

IDN Encoder

IDN Decoder

Miles to Kilometers Converter

Kilometers to Miles Converter

Celsius to Fahrenheit Converter

Fahrenheit to Celsius Converter

Radians to Degrees Converter

Degrees to Radians Converter

Pounds to Kilograms Converter

Kilograms to Pounds Converter

My IP Address

All Tools

Pro tip: You can use ?input=text query argument to pass text to tools.