Data

Random CSV Generator

Details

How to use Random CSV Generator

What the tool does, how to run it, and what to expect from the result.

How to generate a random CSV file

Define your columns as name-and-type pairs, choose a delimiter, and set a row count. The generator emits a header row followed by the requested number of data rows, quoting only the values that need it.

The whole file is built in your browser and shown in a text box you can copy straight into a .csv file.

  • Edit the default columns or add new ones with a name and a type.
  • Choose the delimiter: comma, semicolon, tab, or pipe.
  • Set the row count, up to a maximum of 1,000.
  • Press Generate and check the header row matches your column names.
  • Copy the output into a text editor and save it with a .csv extension.
Tips

Getting a better result out of Random CSV Generator

Specific settings and thresholds, not general advice.

  • Four delimiters are offered: comma, semicolon, tab, and pipe. Semicolon is what Excel expects in locales that use a comma as the decimal separator, which is why a normal CSV opens as one mangled column for a lot of European users.
  • A header row is always emitted, using your column names. If your import expects a headerless file, delete the first line after copying.
  • Values are quoted with double quotes only when they contain a comma, a double quote, or a newline, following RFC 4180. The built-in field types do not produce those characters, so in practice you get a clean unquoted file.
  • The row count is capped at 1,000. A CSV is a plain text file with no framing, so if you need more, generate 1,000 rows and concatenate, dropping the header from every batch after the first.
  • The same 19 field types back both the CSV and the JSON generator, drawing from small fixed word banks. There is no uniqueness guarantee, so a 200-row file will contain duplicate names and emails.
Limits

What Random CSV Generator does not do

The honest boundary, so you do not lose time finding it yourself.

  • Maximum 1,000 rows per generation.
  • No seed, so a file cannot be reproduced exactly.
  • No null or empty-value injection, and no control over the distribution of values.
  • No file download; the CSV is copied from the output box.
At a glance

Who Random CSV Generator is for

A quick way to understand who this helps, what it solves, and where it connects next.

Best fit

Developers generating mock CSV test data.

Ideal for

Using the random csv generator without installing anything or signing up.

FAQ

Common questions

Short answers for the questions people usually have before trying a utility like this.

Which delimiter should I pick?

Comma if the file is going into a script or a database import, since that is what almost every parser defaults to. Semicolon if you are opening it in Excel on a machine set to a locale that uses a comma for decimals, because Excel will otherwise split on the decimal points and produce a mess. Tab is the safest option when the data itself might contain commas.

How are quotes and commas inside values handled?

A value is wrapped in double quotes if it contains a comma, a double quote, or a newline, and any embedded double quotes are doubled, which is the RFC 4180 convention that Excel and most parsers understand. None of the built-in types actually produce those characters, so the output is normally unquoted.

Can I make one of the columns unique?

No. Every value is drawn independently from the pool for that type, so duplicates are expected as the row count grows: with only 20 first names and 16 last names in the bank, a hundred rows will repeat. Generate, then de-duplicate, or use the UUID type for a column that needs to be practically unique.

Are the numbers formatted for a particular locale?

No. Floats use a dot as the decimal separator and there are no thousands separators, which is what a parser wants. If you are handing the file to a spreadsheet in a comma-decimal locale, use the semicolon delimiter, and be aware you may still have to tell the spreadsheet that the dot is the decimal mark.

Is any of this data real?

No, and that is the point. The names are drawn from a small list of computing pioneers and generic first names, the emails are assembled from those names and a fake domain, and none of it corresponds to a real person. That makes it safe to paste into a shared test fixture, unlike a sample of production data.

Recommendations

You Might Also Like

Nearby tools from the catalog that fit the same job or workflow.

Cleanor app

Do it all on your device

Cleanor puts these tools in one app: compress and convert images, video, and audio, work with PDFs, and scan text right on your device. Plus free up storage and clear inbox clutter with Email Cleaner. Start with a free trial.

  • iPhone
  • Android
  • Macsoon
  • Windowssoon