W-2 form OCR API
Read US W-2 wage and tax statements into each numbered box for tax prep, lending and income verification.
結果
変換されたMarkdownやJSONがここに表示されます。
What makes W-2 forms hard to read
- Many small numbered boxes that must map exactly
- Box 12 codes and state rows
- Several copies of the form on one page
What you can pull out
w2 fields
{
"employee_ssn": "XXX-XX-1234",
"employer_ein": "12-3456789",
"employer_name": "Summit Analytics Inc.",
"employee_name": "Kevin Brooks",
"box1_wages": "86,500.00",
"box2_federal_tax": "12,940.00",
"box12[]": "code, amount",
"tax_year": "2025"
}Best models for W-2 forms
1Azure Document IntelligenceAzure layout model with tables, selection marks and prebuilt invoice and ID readers.
azure/document-intelligence15 credits / page2Amazon TextractAWS OCR with form key-value pairs, tables and per-word confidence scores.aws/textract6 credits / page3Reducto ParseHigh-accuracy parsing for complex financial and legal documents, with citations.reducto/parse20 credits / pageCall it from your code
curl https://api.ocrrouter.ai/v1/ocr \
-H "Authorization: Bearer $OCRROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "azure/document-intelligence",
"file_url": "https://example.com/invoice.pdf",
"format": "json"
}'