FormatterHQ

Random Data Generators

Generate UUIDs, strong passwords, random numbers and strings, lorem ipsum, and realistic fake test data in JSON, CSV and XML formats.

ASCII Art Text Generator (FIGlet) Turn text into large ASCII art banners with 30 FIGlet fonts. Wrap them as code comments for README files, CLIs and source headers. ECDSA & Ed25519 Key Generator Generate elliptic-curve key pairs (P-256, P-384, P-521) and Ed25519 keys as PEM or JWK for JWT signing, TLS and APIs. JSON Schema to Sample JSON Generate realistic fake JSON that conforms to a JSON Schema — formats, enums, ranges and required fields respected. Lorem Ipsum Generator Generate lorem ipsum placeholder text by paragraphs, sentences or words, optionally wrapped in HTML <p> tags. Memorable Password Generator Generate easy-to-remember passphrases from random English words, with separators, numbers and symbols. MongoDB ObjectId Generator Generate valid 12-byte MongoDB ObjectIds for the current time or any date, as hex, ObjectId() or Extended JSON. Nano ID Generator Generate secure, URL-friendly Nano IDs with custom length and alphabet, plus a collision-probability estimate. Password Generator Generate strong random passwords with custom length and character sets, using a cryptographically secure source. Password Strength Checker Estimate password entropy and crack time for online and offline attacks, and spot common patterns — checked privately in your browser. Placeholder Image Generator Create placeholder images of any size with custom colours and text. Download SVG, PNG, JPG or WEBP, or copy a data URI or <img> tag. Random Alphanumeric Generator Generate letters-and-digits codes for vouchers, reference IDs and usernames in mixed, upper or lower case. Random Binary Generator Generate random binary numbers (strings of 0s and 1s) of any bit length. Random Byte Generator Generate cryptographically secure random bytes as hex, Base64, decimal, binary or a code array. Random Color Generator Generate random colours as HEX, RGB or HSL codes with a swatch preview for inspiration and testing. Random CSV Generator Generate realistic fake CSV test data — names, emails, addresses, dates and more — with custom fields. Random Data from Regex Generate random strings that match a regular expression — ideal for test data such as IDs, codes and formats. Random Date Generator Generate random dates or date-times between two dates in ISO, US, EU, long, Unix or RFC formats. Random Decimal Generator Generate random decimal (floating-point) numbers in a range with a fixed number of decimal places. Random Emoji Generator Generate random emoji from smileys, animals, food, travel, objects or symbols to copy and paste. Random Fraction Generator Generate random proper fractions such as 3/7 with a maximum denominator, simplified automatically. Random Hex Generator Generate random hexadecimal numbers and strings of any length, in upper or lower case. Random Integer Generator Generate uniform random integers between inclusive bounds, with negatives, unique draws, sorting and up to 10,000 values. Random Integer Range Generator Pick random integers between an inclusive minimum and maximum, dice-style with repeats or lottery-style without. Random IP Address Generator Generate random IPv4 or IPv6 addresses — public, private (RFC 1918) or any unicast — for testing. Random JSON Generator Generate realistic fake JSON test data — names, emails, addresses, dates and more — with custom fields. Random MAC Address Generator Generate random MAC addresses in colon, hyphen, Cisco dot or plain format, unicast and locally administered. Random Name Picker Pick one or more random winners from a list of names — fair, secure and without repeats. Random Number Generator Generate random whole numbers in a range, with options for unique values and sorting. Random Prime Number Generator Generate random prime numbers within any range up to one trillion. Random String Generator Generate random strings of any length from letters, digits, hex, URL-safe or custom character sets. Random Time Generator Generate random times of day in 24-hour or 12-hour AM/PM format, with or without seconds. Random TSV Generator Generate realistic fake TSV test data — names, emails, addresses, dates and more — with custom fields. Random Username Generator Generate random usernames and gamertags from word combinations or names, with optional numbers. Random Word Generator Generate random English words — nouns, verbs, adjectives or adverbs — for games, writing prompts and naming. Random XML Generator Generate realistic fake XML test data — names, emails, addresses, dates and more — with custom fields. RSA Key Pair Generator Generate RSA 2048, 3072 or 4096-bit public/private key pairs in PEM (PKCS#8, PKCS#1) or JWK format with WebCrypto, entirely offline. Shuffle Lines Randomly shuffle the order of lines in a list — for draws, playlists, quiz questions and test data. SSH Key Generator Generate OpenSSH key pairs (Ed25519, RSA, ECDSA) in id_ed25519 / id_rsa format with fingerprint — created locally, like ssh-keygen. TOTP / 2FA Code Generator Generate live TOTP 2FA codes from a Base32 secret or otpauth:// URI, create new secrets and QR codes for authenticator apps. ULID Generator Generate sortable ULIDs (Universally Unique Lexicographically Sortable Identifiers) with monotonic ordering, in bulk, using secure randomness. UUID Generator Generate random UUID v4 or time-ordered UUID v7 identifiers in bulk, with case, hyphen and brace options.

Random generators for security, testing and fun

Randomness is needed in surprisingly many places: unique IDs for database rows, passwords and API tokens, sample data for tests, placeholder text for designs and fair draws for giveaways. These random generators cover all of them. Security-relevant values (UUIDs, passwords, strings, bytes and numbers) come from the browser's cryptographically secure random source, and nothing is sent to a server.

Pick a generator

Secure randomness vs realistic randomness

Two kinds of randomness serve different goals. Cryptographically secure randomness (crypto.getRandomValues) is unpredictable, which is essential for passwords, tokens and keys. Realistic fake data, such as names and addresses, only needs to look plausible, so it comes from a fake-data library. Never use fake-data output, like generated "passwords" in a test record, as a real secret.

Typical workflows

  • Seeding a database – generate a few thousand records as CSV or JSON, add UUIDs as keys, and import them into a development database.
  • Testing validation – create inputs that match or deliberately break a pattern using the regex generator.
  • Designing layouts – fill mockups with lorem ipsum and generated names to see how real content lengths behave.
  • Running a raffle – paste the entrant list into the name picker and draw winners without repeats.

Fairness and repeatability

Every generator draws fresh values on each run, and results are not stored anywhere. That makes draws fair, since nobody can predict the outcome, but it also means you should copy or download results you need to keep, such as the winners of a giveaway or a set of test fixtures you want to reuse.

Tips

  • Use at least 128 bits of randomness for tokens (for example 32 hex characters or 22 URL-safe characters).
  • Store generated passwords in a password manager, not in plain text.
  • Generated emails may use real provider domains; do not send messages to them.

Frequently asked questions

Are the generated passwords and UUIDs secure?
Yes. They are created with the Web Crypto API, a cryptographically secure random source, and never leave your browser.
Is the fake test data real?
No. Names, addresses and companies are fictional values from a fake-data library. Email addresses may use real provider domains, so never send messages to them.
Can I generate values in bulk?
Yes. Most generators create up to thousands of values at once, such as 10,000 UUIDs or 5,000 fake records, which you can copy or download.
What is the difference between UUID v4 and v7?
Version 4 is fully random, while version 7 starts with a timestamp, so new IDs sort in creation order, which suits database primary keys.