toolsko

Choose your language

ToolsKo is written in English. Prefer another language? Open a translated version of this public page.

Browser language suggestion: English. You can choose any language below.

Translation opens in a new tab using Google Translate. It receives this public page URL. Automatic translations may contain mistakes; use the original English page for tool inputs, downloads, and generated documents.

Your choice is remembered on this browser when storage is available. Use Language in the header to change it.

String Escape / Unescape (JS, SQL, CSV, Regex, Shell)

Escape text safely for JavaScript, JSON, SQL, CSV, regular expressions or the command line, and back.

Tool inputs stay in your browser · optional AI search sends your query

Good to know: Escaping stops special characters (quotes, backslashes, dots in regex) from breaking your code. For SQL, always prefer parameters; escaping is a backup.

How to use it (step by step)

  1. 1Type or paste your text into the “Text” box. There is already an example in it so you can see how it works; press Clear to start with your own.
  2. 2Choose your settings: “Escape for”, “Direction”.
  3. 3The answer appears right away in the “Result” box. No button needed.
  4. 4Press Copy and paste the result wherever you need it.

Words to know

CSV export
A simple spreadsheet file (values separated by commas) that apps like Excel, Google Sheets and Meta Business Suite can save and open.
JSON
A common text format apps use to store and send data, made of names and values in { } brackets.
Regex
A search pattern. For example \d+ finds every number in a text.
Escape / unescape
Adding a backslash or code before special characters (like quotes) so they do not break your code. Unescape turns them back.
SQL
The language used to ask a database for data, e.g. SELECT name FROM users.

More in Developer