Free · Make phone-shaped test values
Phone Regex Sample Generator
Generate North American phone-shaped examples for formatting and input tests.
- Real randexp.js generation
- Private in your browser
- Safe count and repeat caps
Generate phone samples
Enter a pattern without / slash marks. Samples are generated locally with safe count and repeat caps.
1
Set the pattern26 / 400 characters
Private local generatorrandexp.js 0.5.3 · no upload
2
Use the samplesReady when you are
Your samples will appear here
Nothing is uploaded. A safety cap keeps open-ended repeats and large batches under control.
Three simple steps
How to use it
- Keep the reserved 555 area code for examples.
- Generate phone-shaped values.
- Use them for display and form tests.
Your pattern stays on this device
randexp.js makes every string inside this browser tab. Bookify does not upload or save the pattern, seed, or samples. Generation is capped, and random examples do not replace full validation tests.