Pattern String Generator (Business IDs)

Generate business-style IDs from a pattern (date, sequence, random tokens).

Runs locally in your browser. Do not include real personal data in patterns. Share URLs contain settings only (no output).

You can exclude the pattern from share URLs to avoid leaking sensitive identifiers.

Not for secrets. For secure strings, use the Token generator or Password generator.

Other languages ja | en | es

Why this pattern string generator?

Quick presets

Pick a preset to fill the pattern box, then tweak tokens as needed.

Generate

Pattern string generator

Enter a pattern, choose output settings, then generate lines, CSV, or JSON array.

Preview


            

Preview shows the first 20 lines.

Output

Copy or download the full output.

Token reference

Use {token} blocks to insert dates, sequences, or random values.
Token Example Description
{A:n} {A:3} Uppercase letters (A-Z).
{a:n} {a:4} Lowercase letters (a-z).
{9:n} {9:6} Digits (0-9).
{alnum:n} {alnum:8} Alphanumeric (A-Z, a-z, 0-9).
{hex:n} {hex:8,upper=true} Hex characters, optional uppercase.
{chars:n,SET} {chars:10,ABCDEFGHJKLMNPQRSTUVWXYZ23456789} Random characters from a custom set.
{uuid} {uuid} UUID v4 string.
{date:FORMAT} {date:YYYYMMDD} Generation time formatted as YYYY MM DD HH mm ss.
{randdate:start,end} {randdate:2025-01-01,2025-12-31,format=YYYY-MM-DD} Random date/time between start and end (local time).
{randint:min,max} {randint:0,999999,pad=6} Random integer in range, optional zero padding.
{choice:v1|v2} {choice:BUG|REQ|SUP} Pick one of the listed values.
{seq} {seq:pad=6,start=1} Sequential numbers (start/step/pad).

Examples

FAQ

Is my data uploaded?

No. Everything runs locally in your browser.

Can I share generated IDs with a URL?

Share URLs include settings only. Use copy/download to share output.

Is seeded mode secure?

No. Seeded mode is for reproducibility only.

Can I exclude the pattern from share URLs?

Yes. Turn off include pattern and share settings without exposing the pattern.