Random CSV

按行数与列数生成随机 CSV(逗号分隔)。

What Is the Random CSV Generator?

The random CSV generator creates comma-separated test data online based on the number of rows and columns you specify, automatically adding headers like col1, col2. Cells contain random integers, decimals, and word combinations, and values that include commas, quotes, or newlines are quoted and escaped per CSV rules so the output stays valid and importable.

Key Features

  • Custom row count (1 to 500) and column count (1 to 50)
  • Automatic header row with col1, col2, etc.
  • Random cells filled with integers, decimals, and words with numbers
  • Quotes and escapes commas, quotes, and newlines per the CSV standard
  • One-click copy of the result or clear and start over

Use Cases / Notes

Great for generating test data for import tests, bulk database seeding, or debugging CSV parsers. The output is standard comma-separated text; open it as UTF-8 when reading in Excel or your own code.

How to Use

  1. Enter the number of rows and columns you want (leave blank for defaults)
  2. Click Generate to get the random CSV text
  3. Click Copy to export the result for import or testing