Dummy 500 KB PDF File

Generate and download a dummy 500 KB PDF file. The download is exactly 512,000 bytes, created in your browser and never uploaded.

Format

512,000 bytes · max 100 MB

Options10 pages · dummy-document.pdf

1 to 200, default 10

.pdf

Need a different size? Make a dummy PDF file of any size from 4 KB to 100 MB.

Testing with a 500 KB PDF file

A 500 KB PDF with the default 10 pages is about 23 KB of document and the rest padding, which makes it a realistic mid-size fixture for viewers, page counters and thumbnail generators.

Many document upload fields cap files somewhere between a few hundred kilobytes and 2 MB. Test the exact byte boundary of your own cap using the trio below.

This is the smallest size here that fits a very long document: 200 pages, the maximum of the Number of pages option, need about 435 KB. Use it to ask whether a viewer or thumbnailer is slow because of pages or because of bytes: generate this size with 10 pages and again with 200 pages, and the bytes stay identical while only the page count changes.

Exact size (binary)
512,000 bytes
Decimal equivalent
500,000 bytes
Base64-encoded size
682,668 bytes
Pages
10 (default; choose 1 to 200 in Options)

Exact size and boundary files for 500 KB

Set the unit to B and enter these byte counts to test either reading of 500 KB.

Boundary file sizes in bytes for a 500 KB limit
Limit defined as One under (should pass)At the limitOne over (should fail)
Binary 500 KB One under (should pass) 511,999 B At the limit 512,000 B One over (should fail) 512,001 B
Decimal 500 KB One under (should pass) 499,999 B At the limit 500,000 B One over (should fail) 500,001 B

Limits closest to 500 KB

A 500 KB file is under nginx (1 MB), PHP (2 MB), AWS Lambda (6 MB), API Gateway (10 MB), Outlook with Exchange (10 MB), Outlook with internet accounts (20 MB), Gmail (25 MB) and Cloudflare Free and Pro (100 MB). Sent as base64 text it stays on the same side of every limit.

Common upload and attachment limits and their sizes in bytes
Limit Size Notes
nginx client_max_body_size (default) 1 MB 1,048,576 B Requests with a larger body get HTTP 413.

Other dummy PDF file sizes

Smaller: 100 KB PDF. Larger: 1 MB PDF. Or see the full dummy PDF file generator.

500 KB PDF file FAQ

Is the 500 KB PDF file exactly 500 KB?

Yes: 512,000 bytes in binary units. For a decimal 500 KB, set the unit to B and enter 500,000.

How many pages does a 500 KB dummy PDF have?

10 pages of A4 text by default. The page count is an option and does not depend on the file size: choose 1 to 200 pages in Options and the file stays exactly 512,000 bytes. If the pages need more than 500 KB, the tool says the minimum size they need.

Is a 500 KB dummy PDF mostly filler?

With the default 10 pages, yes. The document is about 23 KB, so most of the 512,000 bytes is a PDF comment after the final %%EOF marker, outside the document structure. More pages mean less filler.

Will a 500 KB PDF file pass the nginx client_max_body_size (default)?

Yes, as a raw binary upload: it is 536,576 bytes under the 1 MB limit (1,048,576 bytes), which leaves room for the few hundred bytes of multipart headers. As base64 it is 682,668 characters, under the limit, and that is the size that counts in a JSON body or an email.

Is the file uploaded anywhere?

No. It is generated in your browser and never leaves your device.

Send feedback

Request a feature or tell us what is not working.

What is it about?

We store your message to read it and, if you add an email, to reply. Privacy policy