FormatForge — Document Converter & OCR
Pricing
from $3.00 / 1,000 file converteds
FormatForge — Document Converter & OCR
Convert documents between formats and run OCR — PDF, DOCX, XLSX, HTML, Markdown and PNG/JPEG/TIFF images. Files come from a URL, a key-value-store record or base64; one dataset item per file, pay per event.
Pricing
from $3.00 / 1,000 file converteds
Rating
0.0
(0)
Developer
Khristian Kopachelli
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Convert documents between formats and run OCR, in batch. Give the Actor a list of files — each a public HTTPS URL, a key-value-store record key, or inline base64 — and a target format. Every file produces one dataset item; converted output up to 64 KB is inline, larger output is stored in the run's key-value store.
Pure TypeScript/WASM — no LibreOffice, no macros, no shell-out. Your files are parsed by maintained open-source libraries only.
What it converts
| From | To text | To markdown | To html | To json | To csv |
|---|---|---|---|---|---|
| PDF (text layer) | ✓ | ✓ | — | — | — |
| PDF (scanned, no text layer) | failed — "no text layer" | failed — same | — | — | — |
| DOCX | ✓ | ✓ | ✓ | — | — |
| XLSX / XLS | — | — | — | ✓ | ✓ |
| HTML | ✓ | ✓ | — | — | — |
| Markdown / plain text | ✓ | ✓ | ✓ | — | — |
| PNG / JPEG / TIFF | ✓ (OCR) | — | — | — | — |
The from type is sniffed from the bytes — a renamed or mislabeled file is
detected correctly or reported failed, never guessed. The filename extension is
used only when the bytes are inconclusive, and never overrides a known type.
Input
{"files": [{ "name": "report.pdf", "url": "https://example.com/files/report.pdf", "to": "text" },{ "name": "sheet.xlsx", "keyValueStoreKey": "INPUT-sheet", "to": "csv" },{ "name": "scan.png", "base64": "iVBORw0KGgo…", "to": "text" }],"defaultTo": "text","maxItems": 100,"fetchConcurrency": 2,"validateOnly": false}
- Exactly one source per file:
url,keyValueStoreKey, orbase64. url: public https only, port 443, no credentials. Private, loopback, link-local and metadata addresses are refused after DNS resolution. Redirects are not followed.keyValueStoreKey: a record in this run's default key-value store — the way to feed files you uploaded with the run.base64: inline file content (encoded size ≤ 4 MB).to:text,markdown,html,jsonorcsv. Falls back todefaultTo.validateOnly: check inputs without fetching, converting or charging.
Output
One dataset item per file:
status:converted·ocr·failed·skippedsource—url/keyValueStore/base64(the URL itself is never stored)detectedType,to,reason(always populated —okon success)outputText— the result inline (≤ 64 KB)outputKey+outputBytes— when the result is larger, it is stored in the run's key-value store underoutput/<index>-<name>ocrPages,ocrConfidence— for OCR resultsfetchLatencyMs,convertLatencyMs,bytesIn
A run summary is written to the OUTPUT key-value-store record.
Limits (hard caps, never "unlimited")
| Limit | Value |
|---|---|
| Files per run | 100 |
| File size | 25 MB |
| Base64 source | 4 MB encoded |
| Per-file fetch | 60 s |
| Per-file conversion | 60 s |
| PDF pages per file | 500 |
| OCR images per file | single-page only (multi-page TIFF refused) |
| Inline output | 64 KB (larger → KVS, ≤ 8 MB) |
Exceeding a cap stops the run with a clear status — nothing is silently truncated.
Pricing
Pay per event:
formatforge-file— per file that reached conversion:converted,ocr, or a converterfailed(the work was done). Not charged forskippedinputs, fetch/sniff/unsupported-pair failures, orvalidateOnlyruns.formatforge-ocr-page— per OCR'd page.
validateOnly runs are free. Final prices are set by the owner at publication.
Honest limitations
- Scanned PDFs are not OCR'd in v1. A PDF with no text layer fails with a clear reason. OCR works on PNG/JPEG and single-page TIFF images — a multi-page TIFF is refused (split it first).
- No PDF/DOCX generation — this Actor extracts and converts to text-family formats, not back into office documents.
- Password-protected and encrypted files are not supported.
- No browser-TLS impersonation. A CDN that answers 403 gets an honest
faileditem with the HTTP status. - OCR downloads its language data once. The first OCR run fetches
eng.traineddatafrom the tesseract.js CDN; without network access OCR reportsfailedrather than hanging. - XLS (legacy binary) is read as XLSX where possible; results vary — XLSX is the tested path.
Notes for API users
- This Actor processes files you supply — it is not a crawler and stores nothing beyond the run's own storage (normal retention).
- It identifies itself with
FormatForge/1.0 (+https://apify.com/kopachelli/formatforge). - State is checkpointed per file: an interrupted run resumes without re-processing finished files.