📄
Drop a PDF here, or click to choose
Estimated output
📝
Drop a PDF to extract its text layer
Extracted text
🔍
Drop a scanned PDF to recognize text (OCR)
OCR result
Programmatic access via x-api-key header. Get a key at auth.erpfit.com.
Verify key
curl -H "x-api-key: ef_craft_..." \
https://pdf.erpfit.com/api/me
Compress
curl -H "x-api-key: ef_craft_..." \
-F [email protected] -F level=recommended \
https://pdf.erpfit.com/api/compress -o out.pdf
Extract text
curl -H "x-api-key: ef_craft_..." \
-F [email protected] -F format=json -F clean=true \
https://pdf.erpfit.com/api/extract
OCR (async ticket)
# Submit
curl -H "x-api-key: ef_craft_..." \
-F [email protected] -F lang=vi -F dpi=200 \
https://pdf.erpfit.com/api/ocr
# → {"ticketId":"abc123",...}
# Poll result
curl https://pdf.erpfit.com/api/ticket/abc123/result
Auth
Both x-api-key and Authorization: Bearer headers are accepted. Without a key, requests must originate from the browser (CSRF-protected).
Extract: clean=true
Strips zero-width spaces (U+200B, U+200C, U+200D, U+FEFF) and collapses whitespace runs. Useful when processing extracted text programmatically.