Word to PDF
Turn a Word document into a clean, shareable PDF. FileAlloy converts .docx (and Excel, PowerPoint, and more) to PDF through a fast, private API that keeps the layout faithful: send the file, get a PDF back. Files are processed in memory and never stored, and there is a free tier to start.
Files are processed in memory and never stored.
How to use Word to PDF
- Get a free API key Create an account at app.filealloy.com and generate a key. The free plan is enough to start.
- POST your document Send a .docx (or .xlsx, .pptx, .odt, .rtf, .txt) file to /v1/office-to-pdf with your key.
- Get a PDF A clean PDF comes straight back in the response, ready to share or archive.
Why FileAlloy
Faithful layout
Fonts, spacing, and page breaks are rendered as they appear in the source document.
More than Word
The same endpoint converts Excel, PowerPoint, OpenDocument, RTF, and plain text to PDF.
Discarded on send
Your source file is held in memory only while it renders, then dropped as the PDF goes back.
Predictable, EU-based
Rendering happens on EU servers and follows fixed rules, so the same document always produces the same PDF.
Do it at scale with the API
Generating PDFs from Office documents in your product? The same operation is a single call to /v1/office-to-pdf, so you can batch and automate it with no browser.
curl -X POST https://api.filealloy.com/v1/office-to-pdf \
-H "X-API-Key: fa_live_your_key" \
-F "file=@document.docx" \
-o document.pdf Get an API key Frequently asked questions
Which file types can I convert?
Word (.docx), Excel (.xlsx), PowerPoint (.pptx), OpenDocument (.odt), plus .rtf, .csv, and .txt. All go to PDF through one endpoint.
Will the layout match the original?
Yes. The document is rendered with its fonts and formatting so the PDF looks like the source file.
Are my files stored?
No. Files are processed in memory and deleted immediately after the response. Nothing is written to disk or logs.
What is the endpoint?
POST /v1/office-to-pdf with the document as multipart form data.
Is there a free option?
Yes. The free plan includes a monthly request quota, with sub-cent pricing above it.
Can I convert documents in bulk?
Call the endpoint once per file. It is stateless, so you can convert a batch in parallel.