Regex Escape/Unescape
Escape text so it can be safely used in a regular expression.
Input
Output
hello\.world\?
Tip: use this to match literal text (including dots, brackets, etc.) in a regex.
Related tools
Regex TesterCode
Test regex patterns with live matches.
Regex GeneratorCode
Generate regular expressions from common patterns like email, URL, IP, and phone.
Regex Visualizer — Visual Regular Expression EditorCode
Visualize, build, and test regular expressions with a railroad-diagram editor.
Regex CheatsheetCode
Interactive regex reference with searchable patterns, character classes, and examples.
JSON to TypeScriptCode
Generate TypeScript interfaces or types from JSON input.
JSON to Go StructCode
Generate Go structs from JSON with proper json tags.