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 use...

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 safe, containing no malware or executable code hidden within valid extensions (unless explicitly marked for security testing). They are generated to be lightweight and compatible with all standard operating systems.

Common Testing Scenarios

  • Format Validation: Verify that your application correctly accepts allowed formats (e.g., PDF, DOCX) 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 displays standard PDFs and images.
  • Download Handling: Verify that file downloads trigger the correct browser behavior (view vs. save).

Frequently Asked Questions

Are these files safe to use?

Yes. All files on this page are generated with clean, safe content. The "corrupt" or "test" files are structurally valid for their purpose but contain no malicious payloads.

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 Custom File Creator tool.

File Type Specifications

Below are the technical details of the standard files provided above. We ensure these files meet strict standards for cross-platform compatibility.

Document Files (PDF, DOCX)

Our PDFs are generated using the standard version 1.7 specification. They include embedded fonts to ensure text renders correctly on Linux, Windows, and macOS without requiring system fonts. The DOCX files rely on the OpenXML standard.

Image Files (JPG, PNG)

The JPGs use standard Huffman coding with no EXIF metadata to ensure privacy. PNGs are non-interlaced with standard zlib compression. This makes them "clean" for testing image processing pipelines.

Buy me a coffee