Sample SQL file

A ready-made example SQL file for testing database restores, migration scripts, and SQL importers. Here is exactly what you get, then download it at whatever size you need.

What's inside

CREATE TABLE users (
  id INTEGER PRIMARY KEY,
  first_name VARCHAR(64),
  last_name VARCHAR(64),
  email VARCHAR(128),
  company VARCHAR(128),
  created_at VARCHAR(32)
);

INSERT INTO users VALUES (1, 'James', 'Smith', 'james.smith@company.com', 'Acme Corp', '2023-04-18T09:12:44.000Z');
INSERT INTO users VALUES (2, 'Emma', 'Johnson', 'emma.johnson@work.org', 'TechStart Inc', '2022-11-03T14:51:07.000Z');

A runnable dump: CREATE TABLE followed by INSERT statements, with quotes escaped so it can be piped straight into a database.

Download sample SQL file (100 KB)

Need a different size? Generate a SQL file at any size up to 20 MB, exact to the byte.

Want your own content in it? Create a SQL file from your text.

Need hundreds of these, or want to generate them from your own scripts? Tell us what you need

Frequently asked questions

Is this a valid SQL file?

Files can be piped straight into a database — the statements actually run.

Is the data real?

No. Every name, email address, phone number and company in the file is generated placeholder content. Nothing here relates to a real person, so it is safe to commit to a repository or share with a team.

Can I use it in a commercial project?

Yes. The files are free to use however you like, including in commercial and closed-source work. No attribution required.

Do I need to sign up?

No account, no email, no limit on downloads.