</> ConvertAtlas Developer Tools
Crypto & Security

Regex Escaper

Escape special characters for regex.

Instant 100% in-browser Free

This tool escapes regex metacharacters in your text so it can be matched literally inside a regular expression — in your browser.

How to use it

  1. Paste the literal text to match.
  2. Special regex characters are escaped.
  3. Copy the regex-safe pattern.

About Regex Escaper

When you want to match a literal string inside a regular expression, characters like . * + ? ( ) [ ] must be escaped or they take on special meaning. This tool backslash-escapes every regex metacharacter so your text matches exactly as written. It runs entirely in your browser.

FAQ

Which characters are escaped?

All regex metacharacters: . * + ? ^ $ { } ( ) | [ ] and backslash.

Why escape regex input?

So user input or fixed strings match literally instead of acting as a pattern.

Does it build a full regex?

No — it escapes the literal portion; you add anchors or flags as needed.