Skip to main content

Standard Files

Sample JSON

A sample JSON file with common data structures

.json
{
  "id": 1,
  "name": "John Doe",
  "email": "john@example.com",
  "address": {
    "street": "123 Main St",
    "city": "Boston",
    "country": "USA"
  },
  "hobbies": [
    "reading",
    "hiking"…

Sample CSV

A sample CSV file with user data

.csv
id,name,email,age,country
1,John Doe,john@example.com,30,USA
2,Jane Smith,jane@example.com,25,Canada
3,Bob Johnson,bob@example.com,35,UK
4,Alice Brown,alice@example.com,28,Australia

Sample Markdown

A sample Markdown file with common syntax

.md
# Sample Markdown File

## Introduction
This is a sample markdown file that demonstrates various markdown syntax elements.

### Text Formatting
- **Bold text**
- *Italic text*
- ~~Strikethrough~~

###…

Sample YAML

A sample YAML configuration file

.yaml
version: '3'
services:
  web:
    image: nginx:latest
    ports:
      - "80:80"
    environment:
      - NODE_ENV=production
    volumes:
      - ./app:/usr/share/nginx/html
    depends_on:
      - a…

Sample ENV

A sample environment variables file

.env
# Server Configuration
PORT=3000
NODE_ENV=development

# Database Configuration
DB_HOST=localhost
DB_PORT=5432
DB_USER=admin
DB_PASSWORD=secret
DB_NAME=myapp

# API Keys
STRIPE_SECRET_KEY=sk_test_1234…

Sample SQL

A sample SQL database schema

.sql
-- Create Users table
CREATE TABLE users (
  id SERIAL PRIMARY KEY,
  username VARCHAR(50) UNIQUE NOT NULL,
  email VARCHAR(255) UNIQUE NOT NULL,
  password_hash VARCHAR(255) NOT NULL,
  created_at TI…

Sample SVG

A sample SVG graphic file

.svg
<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg">
  <circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" />
  <rect x="20" y="20" width="60" height="60" fill="blue…

Sample WebVTT

A sample WebVTT subtitle file

.vtt
WEBVTT

1
00:00:01.000 --> 00:00:04.000
Welcome to our sample video presentation

2
00:00:04.500 --> 00:00:08.000
This is an example of WebVTT subtitles

3
00:00:08.500 --> 00:00:12.000
They can be us…

Sample XML

A sample XML file structure

.xml
<?xml version="1.0" encoding="UTF-8"?>
<library>
  <book id="1">
    <title>The Great Gatsby</title>
    <author>F. Scott Fitzgerald</author>
    <year>1925</year>
    <price currency="USD">10.99</pri…

Sample HTML

A basic HTML5 boilerplate file

.html
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Sample HTML Page</title>
</head>
<body>
    <he…

Sample CSS

A sample CSS stylesheet

.css
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

header {
    background…

Sample Text

A simple plain text file

.txt
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut a…

About Standard Dummy Files

Why Use Standardized Test Files?

In software development and QA testing, consistency is key. Standardized dummy files provide a reliable baseline for testing file upload features, storage quotas, and content processing algorithms. Instead of searching your computer for a random "test.jpg", you can use these verified files to ensure your tests are reproducible across different environments and team members.

Our standard files are plain UTF-8 text with fictional data — no executable code, macros or real personal information. They are lightweight and open on every operating system.

Common Testing Scenarios

  • Format Validation: Verify that your application correctly accepts allowed formats (e.g., CSV, JSON) and rejects others.
  • MIME Type Checking: Ensure your backend correctly identifies file types based on content, not just extensions.
  • Preview Rendering: Test if your application's file previewer correctly renders Markdown, HTML, SVG and code files.
  • Download Handling: Verify that file downloads trigger the correct browser behavior (view vs. save).

Frequently Asked Questions

Are these files safe to use?

Yes. Every file on this page is a small text sample with fictional data and no executable or malicious content.

Can I use these for automated testing?

Absolutely. These files are static and identical every time you download them, making them perfect for Selenium, Cypress, or other automated test suites where verifying exact file checksums is important.

What if I need a specific file size?

If you need a file with a precise byte count (e.g., exactly 5MB for boundary testing), please use our file generator.

What these samples are

Each sample is a small, hand-written text file (JSON, CSV, Markdown, YAML, ENV, SQL, SVG, WebVTT, XML, HTML, CSS and plain text) encoded as UTF-8 with realistic but fictional data. Need a PDF, DOCX, image, ZIP or media file, or a precise size? Use the file generator.