Extract text from a government PDF form as Markdown
mia.cx
Pulls the instructions and field labels out of an official PDF form and returns them as Markdown, so an agent or script can read the form without a PDF library. This example converts the IRS W-9 form. Replace the URL with any public PDF form or notice.
Input
Output fields
Sign up on Apify or log in
The PDF to Markdown & Office File Converter Actor is ready to run with the inputs already set for "Extract text from a government PDF form as Markdown". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Extract text from a government PDF form as Markdown" task
The PDF to Markdown & Office File Converter Actor will start running based on the input automatically. You can also change all the input fields, like file urls, to match your specific use case.
Receive the "Extract text from a government PDF form as Markdown" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as status, input, title, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Extract text from a government PDF form as Markdown" task via API.

Integrate "Extract text from a government PDF form as Markdown" into your workflow
Connect "Extract text from a government PDF form as Markdown" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay
The government PDF form task returns the form's text as Markdown, with its headings, instructions and field labels in reading order, plus the source URL.
No. The government PDF form task only extracts the text of a PDF. It doesn't fill in or submit forms.
A scanned PDF has no text layer, so the government PDF form task returns little or no text for it. The task doesn't run OCR.