Developer tools · Free · No upload · No sign-up
How to use the regex escape tool for free
- 1Type or paste the text you want to match literally.
- 2Pick pattern or replacement mode.
- 3Copy the escaped text or the ready-made code for your language.
Also useful for: regex escape, escape special characters regex, re.escape online, escape string for regex javascript, preg_quote online.
- Completely free, no account needed
- Your data never leaves your device
- Works on desktop and mobile
Frequently asked questions
Is this regex escape tool free?+
Yes. Every tool on ToolInstant is free to use with no sign-up and no limits on how often you use it.
Is my data uploaded anywhere?+
No. Everything is processed inside your browser using JavaScript. Your input never leaves your device.
Does it work on mobile?+
Yes. ToolInstant works in any modern browser on phones, tablets and desktops.
Why are there different versions?+
Each regex flavour has its own special characters. For example, escaping + in GNU sed's basic regex turns it into a special character, so the basic POSIX version leaves it alone.