API is live

Any file to
any format.

One API call. 23 formats. Documents, spreadsheets, presentations, images. No per-conversion fees.

API key created
Also emailed to you. Keep it secret.

50 free conversions/month. No credit card. No watermark.

23
Formats
<2s
Avg Speed
$0
Per Conversion
99.9%
Uptime
// quick start

Four lines to convert anything

Base64 in, base64 out. No multipart, no temp files, no SDKs needed.

terminal
DOCX → PDF
HTML → DOCX
XLSX → CSV
PNG → WEBP
# 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" }
}
// supported formats

Every format you need

Documents, spreadsheets, presentations, images, and plain text. Convert between any supported pair.

Documents

DOCX DOC ODT RTF PDF

Spreadsheets

XLSX XLS ODS CSV

Presentations

PPTX PPT ODP

Images

PNG JPG GIF BMP TIFF SVG WEBP

Text

HTML TXT Markdown
DOCX PDF
XLSX CSV
HTML DOCX
PPTX PDF
CSV XLSX
MD PDF
PDF PNG
PNG WEBP
DOC DOCX
HTML PDF
JPG PNG
RTF PDF
ODS XLSX
SVG PNG
BMP JPG
XLS CSV
500+

possible conversion combinations

// why this api

Built for developers

Simple, fast, and honest. No tricks.

Fast

Most conversions finish under 2 seconds. No queue, no polling. Synchronous response.

Any direction

Documents to images. Spreadsheets to text. Presentations to PDF. Convert between any supported pair.

Auto-detect

Send a filename and the API detects the input format automatically. Or set it explicitly.

No watermark

Even on the free tier. Your files come back clean. Nothing added, nothing branded.

{}

Base64 in/out

Send files as base64, get results as base64. One JSON payload. No multipart uploads.

Usage tracking

Every response includes your current usage count and plan limit. Monitor in your dashboard.

// pricing

No per-conversion fees

Flat monthly pricing. Every format included on every plan.

Free forever

Starter

$0/mo
  • 50 conversions per month
  • All 23 formats
  • No watermark
  • API key + dashboard
  • Email support
Get Free Key
Most popular

Pro

$9/mo
  • 1,000 conversions per month
  • All 23 formats
  • No watermark
  • Priority processing
  • Email support
Upgrade to Pro
Volume

Business

$29/mo
  • 5,000 conversions per month
  • All 23 formats
  • No watermark
  • Priority processing
  • Dedicated support
Contact Us
// api reference

Documentation

Everything you need to start converting files.

POST /webhook/pdfapi

Convert a file between any supported format.

Headers

HeaderValueRequired
Content-Typeapplication/jsonREQUIRED
x-api-keypk_your_keyREQUIRED

Body Parameters

ParamTypeDescription
htmlstringText or HTML content to convert. Max 500KB. Use for text-based input.
file_base64stringBase64-encoded file. Use for binary files (DOCX, XLSX, images, etc.)
filenamestringOriginal filename for auto-detection. e.g. "report.docx"
input_formatstringOverride auto-detection. e.g. "docx", "xlsx"
output_formatstringDesired output. Default: pdf
marginobject{"top":20,"right":15,"bottom":20,"left":15} mm. HTML→PDF only.
landscapebooleanLandscape orientation. Default: false. HTML→PDF only.
page_sizestringLetter, A4, or Legal. Default: Letter. HTML→PDF only.
Provide either html (text input) or file_base64 (binary input). Include filename for auto-detection or set input_format explicitly.

Response

FieldTypeDescription
successbooleanWhether the conversion succeeded
output_base64stringBase64-encoded output file
output_formatstringOutput format produced
input_formatstringDetected or specified input format
mime_typestringMIME type of the output
size_bytesintegerOutput file size in bytes
duration_msintegerConversion time in milliseconds
usageobject{"used":1,"limit":50,"plan":"free"}

Error Codes

StatusMeaning
401Missing or invalid API key
400Missing content, unsupported format, or payload too large
429Usage limit reached for your plan
500Conversion failed (server error)

POST /webhook/pdfapi-signup

Create a free API key instantly. No credit card.

signup
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 }
}