Sample PDF with form fields (fillable)
A one-page fillable PDF form (AcroForm) with text fields, a multi-line field, a drop-down list, a radio group and two check boxes.
Download
sample-pdf-form-fields.pdf
7.75 KB7,938 bytes
Download PDF sampleDirect download. No sign-up and no waiting.
- Type
- application/pdf
- SHA-256
c138848c201230791ef9ac09c3d2576e146ec62a965e26031a32aa3341ebd2b2- Direct URL
https://sampletestfiles.com/downloads/samples/sample-pdf-form-fields.pdf
Why test with this file
For testing form filling, field extraction and flattening. One text field is pre-filled and one check box is ticked, so reading values can be tested before writing them.
| Pages | 1 |
|---|---|
| Form type | AcroForm (not XFA) |
| Fields | 7 |
| Text fields | full_name, email (pre-filled), comments (multi-line) |
| Choice field | plan (drop-down list of four options) |
| Radio group | contact_method (email, phone, post) |
| Check boxes | newsletter (ticked), terms (empty) |
| JavaScript | None |
| Encrypted | No |
What to check
After your application has processed sample-pdf-form-fields.pdf, confirm that:
- Seven fields are listed, with the names given above.
- The email field reads ava.abbott1@example.com and the newsletter box reads as ticked, before you change anything.
- Values you fill in are still there after saving and reopening, and flattening turns them into ordinary page content.
First bytes of the file
The first 64 bytes of sample-pdf-form-fields.pdf as a hex dump: offset, bytes, then the same bytes as text. The PDF signature is 25 50 44 46 2D.
00000000 25 50 44 46 2d 31 2e 34 0a 25 e2 e3 cf d3 0a 31 |%PDF-1.4.%.....1|
00000010 20 30 20 6f 62 6a 0a 3c 3c 20 2f 54 79 70 65 20 | 0 obj.<< /Type |
00000020 2f 43 61 74 61 6c 6f 67 20 2f 50 61 67 65 73 20 |/Catalog /Pages |
00000030 32 20 30 20 52 20 2f 41 63 72 6f 46 6f 72 6d 20 |2 0 R /AcroForm |Preview
Displays the file in your browser.
Technical details
| File name | sample-pdf-form-fields.pdf |
|---|---|
| Format | PDF (Portable Document Format) |
| Extension | |
| MIME type | application/pdf |
| Size | 7,938 bytes (7.75 KB) |
| Kind | Binary |
| Signature | 25 50 44 46 2D |
| SHA-256 | c138848c201230791ef9ac09c3d2576e146ec62a965e26031a32aa3341ebd2b2 |
| Created | 2026-10-10 |
| Validation | Exact size, signature bytes and structure checked when the file was generated |
| Preview | Available on this page |
| Source | Generated for this site; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | Documents |
Validated for expected format and integrity. As with any download, scan the file with your own security tools before opening it. How files are made and checked
Download from the command line and verify
Fetch the file with curl, then compare its checksum with the SHA-256 value above.
curl -o sample-pdf-form-fields.pdf 'https://sampletestfiles.com/downloads/samples/sample-pdf-form-fields.pdf'
sha256sum sample-pdf-form-fields.pdf # Linux
shasum -a 256 sample-pdf-form-fields.pdf # macOSOn Windows, run Get-FileHash sample-pdf-form-fields.pdf -Algorithm SHA256 in PowerShell. A matching value proves that the download is complete and unaltered.
About PDF
Fixed-layout documents that look the same on every device. The most common format for upload forms that accept documents.
Where it fits
- File parser testing
Well-formed files and deliberate edge cases for testing code that reads CSV, JSON, XML, PDF and more.
- File upload testing
Test an upload form or endpoint with files of every size and type it should accept, and several it should refuse.