âš¡ Developer Tools

Regex Escape Tool

Escape plain text so it can be safely inserted into a regular expression.

About the Regex Escape Tool

Escape plain text so it can be safely inserted into a regular expression. It runs entirely in your browser — nothing is uploaded to a server, so it is fast and private. Just use it and go.

How to use the Regex Escape Tool

  1. Enter or paste your input into the tool above.
  2. Adjust any options to fit what you need.
  3. Copy or download the result.

Frequently asked questions

Is the Regex Escape Tool free?

Yes. This tool is completely free to use, with no sign-up required.

Is my data safe?

Everything runs locally in your browser. Your input never leaves your device.