pdftoolskit.org
PDF (Portable Document Format) utilities, in the browser
Say hi →

Sample PDF with Form Fields (Fillable AcroForm)

text · multiline · checkbox · radio group · dropdown · empty + pre-filled

Two single-page AcroForm PDFs covering the five field types that appear in virtually every real-world form. sample-form.pdf has every field empty; sample-form-filled.pdf is the identical form with every field populated — so you can test filling in one direction and reading/flattening in the other.

The fields, exactly

Field names are stable and namespaced — safe to hardcode in tests:

What to test with the empty form

What to test with the filled form

FAQ

Is this XFA or AcroForm?

AcroForm — the standard, widely supported kind. XFA is a deprecated Adobe-specific format that most browsers and libraries never supported; if you need an XFA sample, you actually need a migration plan.

Why do filled PDF forms sometimes show empty in other viewers?

The value lives in the field dictionary, the pixels live in an "appearance stream" — and some tools update one without the other. These samples have both set consistently. To make values permanent for recipients, flatten the form before sending.

Are there validation rules or JavaScript in the form?

No — no field validation, no calculation scripts, no JavaScript of any kind. It's the plain-vanilla baseline. If your code handles this file wrong, it'll handle nothing right.

Can I add my own fields to it?

Yes — CC0, so modify freely. The generator source shows how each field is created with pdf-lib if you'd rather build a variant from scratch.