📁FileMock
Free Test File Generator

Generate test files instantly

Create mock videos, PDFs, images, and audio files for testing file uploads, storage systems, and application performance. Use in browser or via CLI.

File Types

4

video/audio/image/doc

Formats

16+

MP4, PDF, PNG...

Max Size

2GB

via CLI tool

Generator

Create test file

filemock generate video --format mp4 --size 120mb

⚠ Video/audio files are placeholders (for size testing only)

Why FileMock

Purpose-built for QA engineers and developers

Instant File Generation

Generate test files in seconds. Perfect for fast development cycles and CI/CD pipelines.

🛡️

Privacy & Security

All files generated client-side in your browser. No data leaves your machine.

🎯

Testing-Optimized

Built for QA engineers and developers. Precise size control and multiple formats.

▶️

Functional Files

Videos play, audio has sound, PDFs contain text. Real files, not empty placeholders.

💻

CLI & Automation

Use our CLI tool for automated testing. Integrate with your CI/CD pipelines.

🆓

Always Free

Completely free forever. No hidden costs or usage limits.

CLI Tool

Automate with our command-line tool

# Install globally
npm install -g filemock

# Generate a 50MB video file
filemock generate video --size 50 --format mp4

# Generate files for CI/CD
filemock generate image --size 5 --format png --output test-image.png

Perfect for automated testing, CI/CD pipelines, and scripted workflows. Generate files up to 2GB.

How it works

Three simple steps

  1. 1

    Choose a template

    Start with QA-friendly presets or import your own JSON blueprint.

  2. 2

    Tune the payload

    Dial in size, duration, metadata, and naming schemes with instant validation.

  3. 3

    Download or automate

    Export a ready-to-share file, or copy a CLI/API snippet for CI pipelines.

Browser-based

Works everywhere

No installations, no dependencies. Open and use instantly on any device.

Privacy

100% client-side

Files are generated in your browser. Nothing is uploaded to any server.

Backend

Upload API hardening

Throw edge-case payloads at your upload endpoints and watch instrumentation respond.

Content

CMS & DAM testing

Validate thumbnails, transcoding, and retention policies with curated media sets.

Media

Media processing labs

Benchmark GPU pipelines with heavy encodes, variable duration, and watermark toggles.

Security

Compliance rehearsals

Produce encrypted archives with placeholder PHI to rehearse privacy incident drills.

Start generating test files

Free forever. No signup required.