KickSolve • Free • Private

Regex Unescape Online

Paste an escaped regex pattern and get the plain text it matches. Backslashes before special characters are removed, and /regex/flags wrappers are stripped. Nothing leaves your device.

Removes backslashes safelyStrips /regex/ wrappersText never uploaded

How to use Regex Unescape on KickSolve

Three quick steps, no account needed.

Paste the patternPaste an escaped pattern, or a full /pattern/flags literal.
Read the plain textEscaped characters such as \. and \( are turned back into . and (.
Copy the resultPress Copy result. A note tells you if regex tokens such as \d were kept.

Why choose KickSolve

Built for speed, privacy and accurate results.

Private by designYour text stays in your browser and is never uploaded.
Instant resultsThe output updates as you type. No button to press.
Reads patterns correctlyDecodes in one pass so an escaped backslash is never mistaken for another escape.
No signup, no limitsNo account, no watermark and no limit set by a server.

About Regex Unescape on KickSolve

What it does and how to get the best results.

What does regex unescape do?

It reverses regex escape. A backslash in front of a special character is removed, so 5\.00 becomes 5.00. \n and \t become a real new line and tab, and \\ becomes one backslash.

What about \d, \w and \s?

Those are regex tokens, not escaped characters. They stand for digits, word characters and spaces, so the tool keeps them and tells you how many it left alone. Removing them would change what the pattern means.

Literals and flags

If you paste a literal such as /foo\.bar/gi, the slashes and flags are stripped and the pattern inside is unescaped. Text that only looks like a path, such as /path/to/, is left as it is.

When it is useful

Use it to recover the text a pattern was built from, to read an escaped value from a config, or to check a pattern made by regex escape.

Regex Unescape examples

Real input and output so you can see exactly what changes.

Escaped price

Input

\(USD\) \$5\.00

Output

(USD) $5.00

A regex literal with flags

Input

/foo\.bar/gi

Output

foo.bar

Regex tokens are kept

Input

\d+\.\d+

Output

\d+.\d+

When do you need to unescape a regex?

Common reasons people use this page.

Recover source textGet back the plain text from a pattern.
Config filesRead an escaped value stored for a regex.
DebuggingCheck what an escaped pattern really matches.
DocumentationShow readable text next to a pattern.
MigrationMove text between languages and tools.
LearningSee which backslashes were escapes.

Privacy, limits and browser support

What happens to your data and what to expect.

  • How it works: with KickSolve, the conversion runs in your browser with JavaScript. Your text is not sent to a server and is not stored.
  • Limits: there is no limit set by us. Very large text, many megabytes, depends on your device memory.
  • Browsers: current Chrome, Edge, Firefox and Safari on desktop and mobile.

Read the KickSolve privacy policy for details about the site itself.

Frequently asked questions

Quick answers.

How do I unescape a regular expression?

Paste the pattern in the top box. Backslashes before special characters are removed and the plain text appears below.

Why were some backslashes kept?

Sequences such as \d, \w and \s are regex tokens, not escaped characters. The tool keeps them and shows a note.

Can I paste a /pattern/flags literal?

Yes. The slashes and flags are removed and only the pattern is unescaped.

What happens to \n and \t?

They become a real new line and tab.

What about double backslashes?

A pair of backslashes becomes one. The tool reads left to right, so an escaped backslash is never mixed up with the next character.

Is the result still a valid regex?

Not necessarily. After unescaping, a dot or a bracket is special again. The result is the plain text.

Is my text uploaded anywhere?

No. Everything runs in your browser.

Is it free?

Yes. It is free and needs no signup.

More free tools from KickSolve

Related string and developer tools.