Generate String from Regex
Generate random strings that match a regular expression, handy for test data.
FreeNo uploadNo sign-up
Loading the tool…
How to use the Generate String from Regex
- Set the options for what you want to generate.
- Press Generate to make a new result at any time.
- Copy the output or download it as a file.
Private by design
The Generate String from Regex runs entirely in your web browser. Nothing you enter or open here is uploaded to a server, so it is safe to use with private data and works even when your connection drops after the page has loaded.
Frequently asked questions
Is the Generate String from Regex free?
Yes. The Generate String from Regex on Codegres.org is completely free, with no sign-up, no limits and no watermark.
Is my string uploaded anywhere?
No. The Generate String from Regex runs entirely in your browser using JavaScript, so your string never leaves your device and is not stored or seen by anyone.
Does the Generate String from Regex work on my phone?
Yes. It works in any modern browser on Android, iPhone, Windows, Mac and Linux, with nothing to install.