Generate a file

Choose a format to configure and download a custom test file.

Automate with the API

Skip the UI — hit the API directly from your CI pipeline or test suite.

# Bash / macOS / Linux
curl -X POST https://gettestfiles-api.fly.dev/generate/csv \
  -H "Content-Type: application/json" \
  -d '{"rows":1000,"schema":"contact"}' \
  --output TestFile-csv-1mb.csv

# Windows PowerShell (curl.exe avoids the Invoke-WebRequest alias)
curl.exe -X POST https://gettestfiles-api.fly.dev/generate/csv `
  -H "Content-Type: application/json" `
  -d '{"rows":1000,"schema":"contact"}' `
  --output TestFile-csv-1mb.csv