Skip to content
Dogu Expedition

String Escape/Unescape

Escape line breaks and quotes so they can go into code, or turn escaped strings back.

#Developer#Convert
Processed in your browser, never uploadedDEV-122

What is String Escape/Unescape?

Escape multi-line text or strings with quotes so they can be pasted into JSON, JavaScript, Java/C, SQL, regular expressions, CSV, or a shell command — or turn an escaped string back into the original.

How to use

  1. 1

    Choose escape or unescape.

  2. 2

    Choose the target format (JSON, JS, SQL, …).

  3. 3

    Copy the result.

Use cases

Multi-line text in JSON

Put a multi-line message into a JSON string value.

SQL strings

Safely insert a value that contains single quotes into SQL.

FAQ

Is my data saved or sent anywhere?+

No. Everything is processed in your browser and nothing is saved or sent.

Search tools

Find tools by name, description, or keyword