Document conversion API: HTML to PDF, OCR, PDF to Markdown

Stop building custom pipelines for monthly invoice PDFs
— one clean REST API does it all.

No more Puppeteer clusters to babysit, flaky OCR scripts, or hand-rolled screenshot workers. 20+ document tools — PDF, OCR, screenshots, file ops — behind one API key and one response shape.

  • ✓ No SDK — plain REST
  • ✓ Free previews, no credits used
  • ✓ TLS 1.3 every request
⚡ Try a live conversion — no signup2 of 2 free runs left
X-Convert-Type: html-to-pdf
{
  "source": "<!doctype html>…Tax Invoice KOS/2026-27/0418…",
  "format": "A4",
  "print_background": true
}
HTTP/1.1 200 OKContent-Type: application/pdfContent-Length: 24,891→ Save body as KOS-2026-27-0418.pdf
Browse
FOR DEVELOPERS

Every tool is one REST call away

Same API key, same request shape across documents, OCR and dev tools. Swap sig_test_ for sig_live_ when you ship.

POST /v1/process
curl -X POST https://api.sigli.dev/v1/process \
  -H "X-API-Key: sig_live_…" \
  -H "X-Convert-Type: html-to-pdf" \
  -d '{ "source": "<h1>Invoice</h1>", "format": "A4" }'

# → 200 OK · application/pdf

Every conversion type. One API.

HTML to PDF, PDF to Markdown, image to searchable text, URL to screenshot — under one key, one request shape, and one usage dashboard.

HTML & URL to PDF

Managed Chromium — templates or live URLs.

OCR text extraction

Structured text from scans and image PDFs.

Page screenshots

Full viewport capture at any size — PNG, JPEG, WEBP.

S3 & GCS export

Push finished files straight to your bucket.

Batch & async jobs

Queue large jobs and poll or webhook.

Webhooks on completion

Notify your app when async work finishes.

Workflows & pipelines

Chain operations into one saved, API-triggered pipeline — no step cap.

Dev tools API

Format, encode, hash, JWT, EDI & image convert — on every plan.

Workspace & keys

Sandbox/live keys, usage meter, and request logs in one portal.

Integrate from any runtime

No SDK — plain REST + JSON. Paste your key, pick a language, run the sample.

Languages
PythonNode.jsPHPRubyGoC#curl
Platforms
AWS LambdaVercelGoogle CloudDockerCloudflare WorkersRailway

Pay for the API volume you actually use

Documents, dev tools, OCR, and batch jobs all draw from the same monthly request pool on your plan.

  • Starter: 3,000 credits a month — HTML/URL to PDF, OCR, PDF tools. 14-day free trial.
  • Free previews don't use credits (up to 50/day per workspace)
  • Anonymous playground is capped per IP/day — sign in for more

Questions before you wire it up

Is this PDF-only?

No. One subscription covers document APIs (HTML→PDF, OCR, screenshots, batch jobs, webhooks, cloud export) and dev tools APIs (format, encode, hash, JWT, EDI, image convert). The same key and usage meter apply to everything on your plan.

Do I need an SDK or CLI?

Neither is required. Everything is plain REST + JSON. The code examples library has ready-to-run samples in Python, Node.js, PHP, Ruby, C#, cURL, and Go.

How does sandbox mode work?

Send sandbox: true (or use a sig_test_ key) to get real output without using credits — up to 50 sandbox requests a day per workspace. Drop it when you ship.

What counts toward my monthly quota?

Each successful conversion uses credits from your monthly pool: HTML→PDF and screenshots cost 1, OCR costs 2 per started 5 MB of input, PDF→Markdown 3 per 5 MB. Failed requests are never charged.

Can I see why a request failed?

Yes. Authenticated workspaces include request logs with status codes, latency, and error payloads — useful when a font or URL misbehaves in production.

Where Sigli fits

Teams reach for Sigli to convert documents between formats without building or operating conversion infrastructure.

Billing & finance

Stripe webhook fires → HTML template converts to PDF → attached to the receipt email. One conversion call, no Puppeteer cluster to operate.

AI & data pipelines

Convert PDFs to Markdown or extract OCR text to feed language models, vector databases, and search indexes — one consistent API across every format.

Operations & compliance

Snapshot dashboards to PDF for auditors, or convert archived scans into searchable text with OCR. The same API key handles both.

Product & support

Convert HTML templates into printable onboarding packs and capture full-page screenshots for bug reports — same endpoint, different output.

Agencies & integrators

Ship document features to clients without hosting infrastructure — sandbox keys, request logs, and copy-paste samples in six languages.

Cloud-native pipelines

Push converted documents straight to S3 or GCS when your pipeline is event-driven. Webhooks notify downstream when async jobs finish.

Open a workspace and send your first POST

Starter includes HTML/URL/PDF conversion, OCR, and 3,000 credits per month. Summary and structured extract unlock on Team. Translate and LLM query are Enterprise. Free previews don't use credits. Docs, keys, and request logs live in the same portal.