One API call. 23 formats. Documents, spreadsheets, presentations, images. No per-conversion fees.
50 free conversions/month. No credit card. No watermark.
Base64 in, base64 out. No multipart, no temp files, no SDKs needed.
# Convert a Word document to PDF curl -X POST https://n8n.stromation.com/webhook/pdfapi \ -H "Content-Type: application/json" \ -H "x-api-key: pk_your_api_key" \ -d '{ "file_base64": "UEsDBBQAAAAI...", "filename": "invoice.docx", "output_format": "pdf" }' # Response { "success": true, "output_base64": "JVBERi0xLjQK...", "output_format": "pdf", "input_format": "docx", "size_bytes": 24310, "duration_ms": 1843, "usage": { "used": 1, "limit": 50, "plan": "free" } }
Documents, spreadsheets, presentations, images, and plain text. Convert between any supported pair.
possible conversion combinations
Simple, fast, and honest. No tricks.
Most conversions finish under 2 seconds. No queue, no polling. Synchronous response.
Documents to images. Spreadsheets to text. Presentations to PDF. Convert between any supported pair.
Send a filename and the API detects the input format automatically. Or set it explicitly.
Even on the free tier. Your files come back clean. Nothing added, nothing branded.
Send files as base64, get results as base64. One JSON payload. No multipart uploads.
Every response includes your current usage count and plan limit. Monitor in your dashboard.
Flat monthly pricing. Every format included on every plan.
Everything you need to start converting files.
Convert a file between any supported format.
| Header | Value | Required |
|---|---|---|
| Content-Type | application/json | REQUIRED |
| x-api-key | pk_your_key | REQUIRED |
| Param | Type | Description |
|---|---|---|
| html | string | Text or HTML content to convert. Max 500KB. Use for text-based input. |
| file_base64 | string | Base64-encoded file. Use for binary files (DOCX, XLSX, images, etc.) |
| filename | string | Original filename for auto-detection. e.g. "report.docx" |
| input_format | string | Override auto-detection. e.g. "docx", "xlsx" |
| output_format | string | Desired output. Default: pdf |
| margin | object | {"top":20,"right":15,"bottom":20,"left":15} mm. HTML→PDF only. |
| landscape | boolean | Landscape orientation. Default: false. HTML→PDF only. |
| page_size | string | Letter, A4, or Legal. Default: Letter. HTML→PDF only. |
html (text input) or file_base64 (binary input). Include filename for auto-detection or set input_format explicitly.| Field | Type | Description |
|---|---|---|
| success | boolean | Whether the conversion succeeded |
| output_base64 | string | Base64-encoded output file |
| output_format | string | Output format produced |
| input_format | string | Detected or specified input format |
| mime_type | string | MIME type of the output |
| size_bytes | integer | Output file size in bytes |
| duration_ms | integer | Conversion time in milliseconds |
| usage | object | {"used":1,"limit":50,"plan":"free"} |
| Status | Meaning |
|---|---|
| 401 | Missing or invalid API key |
| 400 | Missing content, unsupported format, or payload too large |
| 429 | Usage limit reached for your plan |
| 500 | Conversion failed (server error) |
Create a free API key instantly. No credit card.
curl -X POST https://n8n.stromation.com/webhook/pdfapi-signup \ -H "Content-Type: application/json" \ -d '{ "email": "you@example.com" }' # Response { "api_key": "pk_aBcDeFgHiJkLmNoPqRsTuV...", "plan": "free", "usage": { "used": 0, "limit": 50 } }