Cookies This site keeps only what it needs to work. There is no analytics and no advertising on it today, and nothing here follows you to other sites. Read the privacy policy

Choose what to allow
+92 312 8299940Free Quote
EN – Language: English
Free tool, nothing to install

Random Data Generator
Addresses, Dates And Test Tables

This random data generator generates IP addresses, MAC addresses, dates, times, fractions and full test tables. Pick a shape, press a button, and copy the result. Nothing is uploaded.

  • FreePrice
  • NineShapes
  • NoneSign-up
  • NoneUploads

Random Data Generator

Make IP and MAC addresses, dates, times, fractions and test tables

Every value is made in your own browser. We upload nothing.

Values
0
Different
0
Characters
0

Ready. Pick what to make and press Generate.

Your browser does all of the work here, in this tab. We upload nothing, store nothing and log nothing.

Not for prize draws or security

Good for tests, games and samples. For lotteries, legal prize draws or anything security-related, use a certified or audited source.

Add a link to this tool on your own site

Copy the code below and drop it into your page. It places a link to this free tool.

The short version

What A Random Data Generator Does For You

Sometimes the easiest way to generate fake data is to use a random data generator. Real work needs fake data. A form needs something to submit, a table needs rows to sort, and a firewall rule needs an address to block. A random data generator fills those needs quickly and easily.

Select a data type, enter a count, and click Generate. Values of that data type are generated and are ready to be saved or copied in the box below.

Nine shapes share the same panel. As a result, one page covers addresses, IPs, dates and times, as well as fractions and whole tables of records.

All the math happens in your browser, and nothing you type here comes to us. We store nothing.

How This Random Data Generator Works

First, the tool reads the boxes on the screen and then asks your browser for a few random numbers. Lastly, it shapes those numbers in the way you want (e.g. in the form of an address, a date, a row in a table, etc.).

Example of a settings panel showing nine types of random data such as IP and MAC addresses, dates and a table.
One panel, nine shapes of random data.

Nothing starts ahead. Because the tool throws away the numbers that would tip the odds, every address has the same chance as its neighbors.

Make Random IP Addresses

The first shape is IP Addresses. Most people come here for this. You may pick IPv4 or IPv6. Then you can select the range that you need.

The random data generator is set to IP addresses with 10 IPv4 addresses in the output box.
Ten public IPv4 addresses in one press.

Any address gives you the whole space. Public only skips the private and reserved blocks, while Private only stays inside them. Loopback keeps everything on 127.

Public, Private And Loopback Ranges

The private ranges are the ones your router hands out: 10, 172.16 to 172.31, and 192.168. They are set out in RFC 1918, and the tool follows that list exactly.

Public only goes the other way. It drops those three blocks and link-local 169.254. Therefore, the addresses that you get resemble addresses that are on the open internet.

Addresses Inside Your Own Block

It's best to test a subnet with addresses sitting inside it. For this example, we'd place 192.168.4.0/24 in the block, and every address would be in that range.

It rounds your entry to the starting point of the block. For example, 192.168.5.77/24 becomes 192.168.5.0/24, which is the block you actually meant.

Random IPv6 Addresses

Toggling over to IPv6 reveals a different form of the address. The short form of an IPv6 address is written by hand by using a double colon to squeeze the longest run of zeroes.

Untoggling it reveals the full eight groups. The longer form is more appropriate to use in configuration files while the shorter form is better in a document.

Addresses You Can Safely Publish

One of the public address fields is randomly assigned. So, keep it out of screenshots, posts, and public tickets.

In documentation, stick to the three ranges RFC 5737 reserves for that purpose: 192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24. Type one of them into the block box, and the tool stays inside it. The full picture lives in the IANA special-purpose address registry.

Make Random MAC Addresses

The second element is MAC addresses. So choose the separator your tooling expects: colons, hyphens, Cisco dots or nothing.

Random data generator set to MAC addresses with Cisco dotted addresses in output box
MAC addresses in the Cisco dotted format.

All but two bits of the address are freely modifiable. In the address type field, you can force these bits if you have capital letters on your mind.

The Locally Administered Bit And The Multicast Bit, Explained

Two flags are located in the first byte of each MAC address. One flag says that the address is a multicast address. The other flag says that the address belongs to the local address rather than a hardware vendor address.

Locally assigned sets will second a flag, so your made up address wont collide with a real address. Multicast sets will always set the first one. In essence, this tool makes addresses that are truthful about being fabricated.

Keep A Vendor Prefix

Sometimes a test case requires the use of addresses that look like one vendor. So type a prefix like 00:1A:2B and the tool will retain it while the rest is randomized.

Those first three bytes are the vendor block. The registry behind them sits in the IANA ethernet numbers list, so pick a prefix that suits the kit you are pretending to have.

A Random Date Generator

The third shape is dates. So set the earliest and latest dates, and choose how you want them written.

Random data generator generates dates between 2020 and 2026 and shows 10 ISO dates.
Dates inside a window you set yourself.

ISO gives you 2026-03-09, which is the format in ISO 8601 and the one databases prefer. US and European formats use slashes, and Unix seconds gives you a plain number for a timestamp column.

Weekdays Only

For business data, it rarely falls on a Sunday. So, check Weekdays only, and all the dates will be between Monday and Friday.

The addition of that one tick makes test invoice tables look so much more legit. It's also more efficient to not have to filter weekends out later.

A Random Time Generator

The fourth shape is Times, and it works the same way as the others. Set the earliest and latest times with a 24 hour clock, for example 09:00 and 17:30.

Next choose a clock for the output. With the 24 hour clock, the output is 14:05. With the 12 hour clock, the output is 2:05 pm. Because the log line and meeting slot are the same length, either one fits.

A Random Fraction Generator

The fifth shape is fractions and is one of the most used shapes by teachers. Proper fractions sit below one, improper ones go above one, and mixed numbers put the whole number up front.

Set the largest denominator to match the class. For example, 99 suits a harder sheet, while 12 suits an easier sheet. Lowest terms starts ticked, so untick it when you want the class to do the reducing.

A Random Test Data Generator For Tables

The last 4 shapes build a whole table of records. So tick the columns you need, set the number of rows, and choose JSON, XML, CSV or TSV.

Random data generator set to JSON with the column picker open and indented JSON records in the output box
A test table as indented JSON.

15 columns are available to view: a row number, a UUID, a name, an email address, a city, a country, a date, a time, a value, a price, a status word, an IP address, a MAC address, a short sentence, and a whole number.

Output As JSON, XML, CSV Or TSV

JSON is always an array of objects and is indented by default. You can uncheck the indent box to display a compact single line of data, which is what an API usually sends.

XML wraps the rows in tags you name yourself. CSV follows RFC 4180, so it quotes any field holding a comma, a quote or a line break. TSV is the same table with tabs, which pastes straight into a spreadsheet.

Safe Test Names And Email Addresses

Names are built from short lists and email addresses always end in example.com, etc. As a result, they read like people, but really are not.

RFC 2606 keeps those domains for documentation. Therefore a test run can never post mail to a real stranger by mistake.

UUID Columns

Tick the UUID column and each row gets a version 4 identifier, with the version and variant bits set as RFC 9562 describes.

These identifiers are random, not sequential, so they make sense as primary keys in a test database. They do not suggest how many records are in the database.

Use A Seed To Repeat A Run

A seed is a short word that fixes the output. So type release-42 in the seed box, and the same settings always give the same values.

Automated tests repeat the same series of actions over and over again. That means, for tests to be helpful, they need to be consistent. Commit the seed right next to the test. That way, when someone else runs the test, they'll get the same results, and an inconsistent result becomes something you can reproduce.

Where the Generator Gets Its Randomness From

Without a seed, the numbers come from the secure source built into your browser. For the details, see the MDN page on crypto.getRandomValues.

This tool uses a small repeatable generator instead of a seed for each run. Despite being replayable, runs are just as random. The spread stays even.

Copy, Download And Limits

Use Copy to copy the data to your clipboard, or Download to save the data as a file. Each shape is named sensibly, so a set of JSON data is saved as test-data.json, and a set of random IP addresses is saved as random-ip-addresses.txt.

A list returns up to 1,000 values, a table up to 500 rows. Those limits make the page quicker on phones and the counters under the box tell you how many values you got and how many were different.

Safe By Design

Everything happens inside your browser with The Random Data Generator. Nothing is uploaded from your computer, and nothing is left behind once you are done using it. The data you enter, images you create, and everything else is saved on your computer.

Video guide

The Random Data Generator in Action

This brief video shows each step from start to finish. Choose your language below, and switch on captions if they help.

How it works

Using The Random Data Generator, Step by Step

Four steps get you from a blank box to test data.

  • Choose a shape

    Addresses, dates, times, fractions or a table.

  • Set the options

    Determine range, format, and number of values required.

  • Press Generate

    Your browser makes the values at once.

  • Copy or save

    Take the clipboard, or download the file.

Why this one

What This Random Data Generator Does Differently

Choose from nine shapes; all ranges are honest. Repeat run is provided.

  • Nine shapes in one page

    Addresses, dates, times, fractions and table formats.

  • Real address rules

    Published blocks define public, private and loopback ranges.

  • Repeatable runs

    A seed gives the same table to everyone on the team.

  • Safe sample values

    All emails are on a domain used for examples.

  • Proper CSV quoting

    The tool does what the standard says and escapes commas, quotes and line breaks.

  • Nothing leaves your tab

    Your browser does all the work, so we never see your settings.

Good habits

Habits For Useful Random Test Data

A few habits keep fake data helpful instead of misleading.

  • Use documentation ranges in public. Stay in the 192.0.2.0/24 or 203.0.113.0/24 range when taking screenshots and posts.
  • Seed anything a test depends on. By committing the seed you can reproduce the exact copy of a failed run.
  • Match the real shape. Choose the columns your table actually has over the columns provided.
  • Keep dates sensible. Set a window to reflect your story, then tick weekdays for business data.
  • Check the quoting. Always check the import of a CSV file once in a spreadsheet before trusting the import.
  • Label the file. When saying in the name of a ticket, state that the data is fake, not real.
  • Never seed a secret. Test data means it's wrong for passwords or keys.
  • Delete it afterwards. Fake data that is entered in a shared database will just trip up the next person.
Worth avoiding

Common Mistakes With A Random Data Generator

All of these will turn a helpful piece of test data into a minor problem.

  • Publishing a real public address

    A random public IP address belongs to someone. Use a documentation block instead.

  • Forgetting the seed

    Without it, a failing test cannot run again on the same rows.

  • Mailing a generated address

    These are meant to end in example.com to avoid clients accidentally pointing a live sender to them.

  • Treating fake data as a load test

    Five hundred neat rows say nothing about a million messy ones.

  • Ignoring the CSV quoting

    A comma in a sentence breaks a naive parser. The test is there to see whether it breaks.

  • Leaving test rows in production

    Selling Ada Hall row caused a loss of an afternoon.

Questions

Random Data Generator Questions People Ask

Does this random data generator cost anything?

Yes. The generator is free, there are no accounts, and there are no limits. Your browser does the work, so we don't have a server bill to recover, and we aren't going to.

Does my data stay on my device here?

No. Your browser makes every value. So nothing reaches this site, and we keep nothing.

How can I make a random IP address?

Choose between IPv4 and IPv6 addresses, enter the number of addresses you want to generate and then click Generate. The range box allows you to select public, private or loopback addresses.

Can I get addresses from one subnet?

Yes. Type the block here, e.g. 10.0.5.0/24, and all addresses will be within that block. The tool will round your entry to the start of that block.

Are any of these addresses safe to include in a blog post?

Use the three example ranges: 192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24. Standards bodies keep them for exactly this, so nobody owns them.

Does it make IPv6 addresses?

Yes. Turn on IPv6 and choose if you want the short version, which uses a double colon, or the long version which uses all 8 sets of brackets.

How do I make a random MAC address?

Select MAC addresses and choose a separator. Options for a separator are colons, hyphens, Cisco dots and no separator at all.

What does it mean when a MAC address is locally administered?

That bit marks the address as local (not vendor hardware assigned). Therefore your bogus address will not conflict with a real network interface card on the local area network.

Can I keep a vendor prefix?

Yes. Type the first three bytes, e.g. 00:1A:2B and the tool keeps them and randomises the rest.

How can I make random dates?

Choose the earliest and the latest date. Choose a format. ISO, US, European and Unix seconds are available.

Can I skip weekends?

Yes. Check Weekdays only and you'll get all dates between Mondays and Fridays.

Can it give me random times?

Yes. Set the earliest and latest times on the 24 hour clock, and choose 12 or 24 hour output with or without seconds.

Does it make random fractions?

Yes. You can enter proper, improper and mixed numbers and set the largest denominator yourself.

Can fractions stay unreduced?

Yes. You can leave 'Lowest terms' unchecked to get fractions that the student still needs to reduce, e.g. 4/8.

How do I make a test table?

You can select the format as JSON, XML, CSV or TSV, tick the columns you need, set the number of rows and hit 'Generate'.

What columns are available?

Each entry has 15 things: row number, UUID, name, email, city, country, date, time, true/false, whole number, price, status, IP address, MAC address and a short sentence.

Are the email addresses on this page genuine?

No. They always end in example.com, example.net, example.org or test.example, which are the examples kept for documentation by the standards.

Does the CSV quote fields correctly?

Yes. The tool wraps any field containing a comma, quote or line break with quotes and doubles the inner quotes, per the CSV standard.

What exactly does the seed box in the generator do?

It sets the run. So the same seed and the same settings will always result in the same output, which means a test can be repeated.

Should I always use a seed?

Leave it empty. Enter values only when someone else needs the same data.

How many values can I make at once?

A plain list can return up to 1000 values, a table up to 500 rows.

Can I save the generated data as a file?

You can, just click the copy button to save to your clipboard, or choose to download a file named after the shape you chose.

Is this safe for passwords or keys?

Unfortunately not, this is a test data generator so if you need to save something that needs to be protected, you'll need to use a password tool.

Does it work offline?

Yep, once the whole page finishes loading. The thing about generating is it doesn't even need a connection.

does it function on cell phones like it does on computers?

It does. Boxes stack, the buttons are large, and the output box scrolls automatically.

More free tools

Handy Companions For Test Data

One step is making the data. These three steps help with the rest.

Ready To Use The Random Data Generator?

Pick a shape, set the options, and press the button. The random data generator is free, requires no account, and keeps all the data on your device.

Prefer Denwix on GoogleReview Denwix on Google