Sample files for testing
87 small test files in 40 formats: documents, data and config files, maps, archives, images, audio and video. Each page lists what every file contains, read back from the file itself, with a SHA-256 checksum. All files are made by us and free to use (CC0).
Looking for spreadsheets or data? See sample CSV files, sample Excel files, sample JSON files and the practice SQL databases.
Documents
Sample PDF files
PDF files that open in any reader and behave predictably: a plain one-page file, 10- and 100-page files with page numbers, an A4 invoice with a table,.
.docxSample DOCX files
Word documents in the .docx format (Office Open XML), made with python-docx: a short text file, a report with headings, lists and a 10-row table, and .
.pptxSample PPTX files
PowerPoint presentations in the .pptx format, 16:9, made with python-pptx: a 5-slide and a 20-slide deck.
.odtSample ODT files
OpenDocument Text files, the native format of LibreOffice Writer: one with a heading and five paragraphs, and one with a heading, a paragraph and an 1.
.odsSample ODS file
An OpenDocument spreadsheet, the native format of LibreOffice Calc, with one sheet of 100 fictional sales orders.
.rtfSample RTF file
A Rich Text Format file written by hand in plain RTF 1 control words: a heading, three paragraphs, bold, italic and underlined text, a second colour a.
.txtSample TXT files
Plain text files that differ only in the ways that break text handling: Unix (LF) and Windows (CRLF) line endings, a UTF-8 file with a byte order mark.
.mdSample Markdown file
A Markdown file that uses the common elements once each: headings, bold and italic text, inline code, a link, nested lists, task lists, a table with r.
.htmlSample HTML file
A small HTML5 page with a viewport tag, inline CSS, headings, a 10-row table, a form and a list.
Data and config
Sample XML files
XML files for parser testing: 100 orders with child elements and attributes, a product catalogue that uses two namespace prefixes, and a deliberately .
.yamlSample YAML files
Two YAML files: a nested application config with maps, lists, a null, a boolean, a float and a block string, and a list of 20 order records.
.tomlSample TOML file
A TOML config file with plain keys, a table, a nested table, an array, an array of tables, a date, a float and a boolean..
.ndjsonSample NDJSON / JSON Lines files
Newline-delimited JSON: one JSON object per line.
.tsvSample TSV file
A tab-separated file with a header row and 100 fictional sales orders in 19 columns.
.logSample log files
Two made-up log files: 2,000 lines in the combined access-log format used by nginx and Apache, and 600 application log lines with levels and worker id.
.parquetSample Parquet files
Apache Parquet files with the 1,000-row sample sales orders table and typed columns (date, integer, double and string), one with Snappy compression an.
.icsSample ICS calendar file
An iCalendar file with 14 fictional events in December 2026: 12 one-hour meetings, one weekly event that repeats 8 times and one all-day event.
.vcfSample VCF (vCard) files
vCard 3.0 contact files: 25 fictional contacts in one file and a single contact in another.
Maps and GPS
Sample GeoJSON files
Two GeoJSON files: the large US airports with scheduled service as Point features (from OurAirports, public domain), and a made-up line and polygon ne.
.kmlSample KML files
KML 2.2 files: one Placemark per large US airport with scheduled service, each with its IATA code, name and coordinates (OurAirports, public domain), .
.gpxSample GPX file
A GPX 1.1 file with one made-up track: a loop near Boulder, Colorado, with points every 6 seconds, each with elevation and a timestamp..
Archives
Sample ZIP files
ZIP archives built from our sample CSV files: three CSV files with Deflate compression, the same files stored without compression, and an archive with.
.tar.gzSample TAR.GZ file
A gzip-compressed tar archive holding three CSV files inside a sample/ folder, the common way to ship files on Linux..
.gzSample GZ files
CSV files of 1,000 and 10,000 fictional sales orders, each compressed with gzip.
Images
Sample PNG images
PNG images in three common sizes plus one with a transparent background.
.jpgSample JPG images
JPEG images from 640×360 to 3840×2160, a progressive JPEG, and one stored sideways with an EXIF orientation tag, which is the case that most often bre.
.gifSample GIF files
An animated GIF with 12 frames that loops forever and a still GIF with a 64-colour palette..
.webpSample WebP images
WebP images: a lossy 1280×720 image and a lossless 800×600 image with transparency..
.svgSample SVG files
Two small SVG files written by hand: a bar chart with rectangles, a line and text, and a 24-pixel stroke icon that takes its colour from CSS (currentC.
.bmpSample BMP images
Uncompressed BMP images at 640×360: a 24-bit file, large for its size on purpose at 3 bytes per pixel, and an 8-bit file with a 256-colour palette at .
.tiffSample TIFF images
TIFF images: a 1280×720 file with LZW compression and a 3-page TIFF, the format scanners and fax software use for multi-page documents..
.icoSample ICO files
Windows icon files: one holding four sizes (16, 32, 48 and 256 pixels, the sizes browsers and Windows ask for) and one with a single 32-pixel icon..
Audio
Sample WAV files
Uncompressed WAV audio: 5 seconds of a C major chord in 16-bit 44.1 kHz stereo, and 3 seconds of a 440 Hz tone in 8-bit 8 kHz mono.
.mp3Sample MP3 files
MP3 audio at 128 kbps constant bit rate, 44.1 kHz stereo: a 5-second and a 30-second chord, encoded with LAME from our own generated tones..
.oggSample OGG files
Ogg Vorbis audio at quality 4, 44.1 kHz stereo, 5 and 30 seconds long..
.flacSample FLAC files
Lossless FLAC files, 16-bit 44.1 kHz stereo, 5 and 30 seconds long.
.m4aSample M4A files
AAC-LC audio at 128 kbps in an MP4 container (.m4a), the format iPhones and many podcasts use.
Video
Sample MP4 videos
Short MP4 test videos showing a moving test pattern with a frame counter: 10 seconds at 640×360 and at 1280×720 with an AAC tone, and 5 seconds with n.
.webmSample WebM videos
WebM test videos: 10 seconds of VP9 video with Opus audio at 640×360, and 5 seconds of VP8 video with no audio..
.movSample MOV video
A 10-second QuickTime .mov file with H.264 video at 640×360 and an AAC tone, the container iPhones record in..
87 files, 11.6 MB in all. Made with reportlab, python-docx, python-pptx, odfpy, Pillow, pyarrow and FFmpeg.