Sample files you can hotlink or download

You are testing something that takes files, and you need a file to feed it. Say a PDF with three pages. Every file here has a URL, so you can hotlink it from a page or a test, or download it and run offline.

Here is one:

https://loremfile.dev/pdf/a4-3pages.pdf

Paste it into a browser. There is no signup, and no key to send.

The files are CC0, so copying one into your own repository is fine. Each has a SHA-256 in our manifest, and your test can compare it with what it downloaded. A published URL never changes its bytes, so a hash you save today still matches next month.

Want to fetch files from code? There are four ways:

We check the live site from outside every day. The results are public on the status page.

Formats

Documents

Images

Video

Audio

Text

Web

Data

Archives

Fonts

Binary

Calendar and mail

Certificates

Edge cases

By task

Use it from anywhere

JavaScript

const response = await fetch("https://loremfile.dev/json/people-1000.json");
const people = await response.json();

Python

import urllib.request

with urllib.request.urlopen("https://loremfile.dev/csv/people-1000.csv") as response:
    data = response.read()

curl

curl -O https://loremfile.dev/pdf/a4-3pages.pdf

For agents

Read llms.txt for a short summary, llms-full.txt for every file, or manifest.json for sizes, hashes and measured properties. Each format also has its own list at /{format}/index.json.

Rules