Skip to content
Tezmy Tools

Random Data Generator

Make random strings, hex, Base64, IP and MAC addresses, decimals and dates

Characters

Generated in your browser with your device's secure random source.

Runs in your browser. Nothing is uploaded.

About the Random Data Generator

This Random Data Generator makes up to 1,000 random values at a time in one of nine types: strings from characters you choose, hexadecimal digits, binary bits, Base64 from random bytes, IPv4 addresses (any public-looking address or only private ranges), IPv6 addresses, MAC addresses with your choice of separator, decimal numbers between a minimum and a maximum with a fixed number of places, and dates between two days. The values come from your browser's secure random source, and they are shown one per line so you can copy them or download a text file. Everything happens on your device. The values are random but are not guaranteed to be unique, and they are not secret keys unless you make them for that purpose and keep them safe. For passwords, use the Password Generator.

Updated September 2026

How to use the Random Data Generator

  1. 1Choose the type of data from the Type list.
  2. 2Set the options that appear, such as the length, the characters, the range or the dates.
  3. 3Type how many values you want, up to 1,000, and press Generate.
  4. 4Copy the result or download it as a text file.

Types of random data

Strings, hexadecimal and binary are the building blocks for identifiers, sample tokens and test input. Base64 turns random bytes into text that is safe to paste into a form or a file. IP and MAC addresses fill network test data. Decimals and dates help you fill in spreadsheets, databases and forms with believable values.

You can generate up to 1,000 values at once, one per line, so a whole test column takes one click.

Where the randomness comes from

The page asks the browser for random numbers using the cryptographic generator built into it, the same one used for secure connections. It uses a method that avoids a bias toward small numbers, so each allowed value is equally likely. Nothing is sent away, and the values are created only when you press Generate.

Random does not mean unique. If you generate a short string many times, you may see repeats. For values that must never repeat, use the UUID Generator.

Test data, not secrets

Random values are ideal for tests, but a value shown on a web page is not automatically a secret. If you need a key or token, generate it in the place you will use it, keep it out of chat and email, and store it in a proper secrets manager. For passwords, use the Password Generator, which also checks strength. For plain numbers use the Random Number Generator, and for sample paragraphs use the Lorem Ipsum Generator.

Private IP ranges and MAC addresses

  • Private IPv4 ranges are 10.0.0.0 to 10.255.255.255, 172.16.0.0 to 172.31.255.255 and 192.168.0.0 to 192.168.255.255.
  • Without the private option, the first number is 1 to 223 and loopback (127) is skipped.
  • A MAC address is six bytes, shown as twelve hex digits. The values here are random and do not follow any manufacturer's range.
  • Random addresses may belong to real devices, so do not use them to scan or probe a network.

Features

  • Nine types: string, hex, binary, Base64, IPv4, IPv6, MAC, decimal, date
  • Choose letters, digits, symbols or your own characters for strings
  • Private-range only IPv4 addresses
  • MAC addresses with colon, dash or no separator
  • Decimal numbers with 0 to 10 decimal places
  • Dates between any two days
  • Up to 1,000 values at once
  • Copy or download as a .txt file

Frequently asked questions

How do I generate a random string?

Pick Random string, choose a length up to 1,024 and tick the kinds of characters you want, such as A-Z, a-z, digits or symbols. You can also add your own characters. Press Generate and each line is a new string.

Is this random data secure?

The values come from your browser's cryptographic random source, which is suitable for test data and identifiers. They are not automatically secret keys. If you use one as a token or key, generate it here for that purpose and store it safely, and use the Password Generator for passwords.

How do I make a random MAC address?

Pick MAC address, choose colon, dash or no separator and decide on upper or lower case. Each address is six random bytes. It is only a number, so it can match a real device, and it makes no attempt to follow a manufacturer's range.

How do I generate random IP addresses?

Pick IPv4 address for four numbers such as 93.184.12.7 or IPv6 for eight groups of hex digits. Tick Only private ranges to get addresses in 10.x.x.x, 172.16 to 172.31 or 192.168.x.x, which are safe for internal test networks. Loopback addresses are skipped.

Can I use these for testing software?

Yes, that is the main use: filling test databases, trying input validation, or creating sample identifiers. Do not aim random IP or MAC addresses at real networks, because they may belong to real devices.

How do I get random dates between two dates?

Pick Dates, then choose the From and To days. Both days are included, and the result is written as YYYY-MM-DD. Every day in the range is equally likely. The start must be on or before the end.

Related tools