Data Generator - Programming and Web
Generate random data for development, testing, and prototyping: UUIDs, random strings, passwords, API keys, lorem ipsum text, timestamps, and more.
Actions
uuid-v4
Generate a random UUID version 4.
Required fields: none
Example:
{ "action": "uuid-v4" }
uuid-v1
Generate a UUID version 1 (timestamp-style).
Required fields: none
Example:
{ "action": "uuid-v1" }
random-string
Generate a random string of a given length and character set.
Required fields:
length(integer, 1-1000) — number of characters
Optional fields:
charset(string) — one ofalphanumeric(default),alpha,numeric,ascii,hex
Example:
{ "action": "random-string", "length": 24, "charset": "ascii" }
random-number
Generate a random integer within a range.
Required fields: none
Optional fields:
min_value(integer, default 0) — lower boundmax_value(integer, default 100) — upper bound
Example:
{ "action": "random-number", "min_value": 1, "max_value": 1000 }
random-hex
Generate a random hexadecimal string.
Required fields:
length(integer, 1-64) — number of hex characters
Example:
{ "action": "random-hex", "length": 32 }
random-bytes
Generate random bytes returned as a hexadecimal string.
Required fields:
length(integer, 1-1024) — number of bytes
Example:
{ "action": "random-bytes", "length": 16 }
random-color
Generate a random hex color code (e.g., #a3f1c2).
Required fields: none
Example:
{ "action": "random-color" }
random-email
Generate a random test email address using example domains.
Required fields: none
Example:
{ "action": "random-email" }
random-ipv4
Generate a random IPv4 address.
Required fields: none
Example:
{ "action": "random-ipv4" }
password
Generate a secure random password with configurable character types.
Required fields:
length(integer, 4-128) — password length
Optional fields:
include_uppercase(boolean, default true)include_lowercase(boolean, default true)include_numbers(boolean, default true)include_symbols(boolean, default true)
At least one character type must be enabled.
Example — 20-character password, no symbols:
{ "action": "password", "length": 20, "include_symbols": false }
api-key
Generate a URL-safe API key with an optional prefix.
Required fields:
length(integer, 16-128) — key length (excluding prefix)
Optional fields:
prefix(string, default "") — prefix prepended to the key (e.g.,sk_,pk_test_)
Example:
{ "action": "api-key", "length": 40, "prefix": "sk_live_" }
jwt-secret
Generate a secure JWT signing secret.
Required fields: none
Optional fields:
length(integer, min 32, default 64) — secret length
Example:
{ "action": "jwt-secret", "length": 128 }
lorem-ipsum
Generate Lorem Ipsum placeholder text. Priority: words > sentences > paragraphs.
Required fields: none
Optional fields:
words(integer) — return exactly this many words (overrides sentences/paragraphs)sentences(integer) — return this many sentences (overrides paragraphs)paragraphs(integer, default 1) — return this many paragraphs
Example — 3 sentences:
{ "action": "lorem-ipsum", "sentences": 3 }
Example — 50 words:
{ "action": "lorem-ipsum", "words": 50 }
timestamp
Return the current Unix timestamp (seconds since epoch).
Required fields: none
Example:
{ "action": "timestamp" }
iso-date
Return the current date and time in ISO 8601 format.
Required fields: none
Example:
{ "action": "iso-date" }
Common Workflows
- Seed a test database — Use
uuid-v4for IDs,random-emailfor user emails,passwordfor hashed credentials, andlorem-ipsumfor filler text. - Generate API credentials — Use
api-keywith a prefix likesk_test_andjwt-secretfor signing tokens. - Create mock network data — Combine
random-ipv4,random-hex(for MAC-style addresses), andtimestampfor log entries. - UI/design prototyping — Use
random-colorfor palette generation andlorem-ipsumfor placeholder copy.
Important Notes
- All security-related generators (
password,api-key,jwt-secret) use cryptographically secure random sources. - Generated emails use example/test domains and are safe for testing (will not reach real inboxes).
- The
random-bytesaction returns bytes encoded as a hexadecimal string (2 hex chars per byte). - For
lorem-ipsum, specifyingwordstakes priority oversentences, which takes priority overparagraphs.







