Convert Office Files to PDF
File to PDF converts Word, Excel, PowerPoint, OpenDocument, RTF and plain-text files to PDF with LibreOffice. Layout follows LibreOffice's import, so it can differ from Microsoft Office.
Drag and drop files here, or click to choose
Accepts DOCX, DOC, ODT, RTF, XLSX, XLS, ODS, PPTX, PPT, ODP, TXT · up to 500.0 MB per file · up to 20 files at once
You can also paste a file with Ctrl/Cmd+V, or from the clipboard menu.
File to PDF sends an office document through LibreOffice (`soffice --convert-to pdf`). The website accepts Word, Excel, PowerPoint, OpenDocument, RTF, and `.txt`. Anything LibreOffice cannot open will fail.
This is not a universal file converter. Executables, random binaries, and formats soffice does not import are rejected or produce garbage. Macros are not a feature; do not upload documents whose macros you do not trust.
Layout follows LibreOffice's import of that format, then its PDF export. Excel print areas, PowerPoint notes, and Word tracked changes may not look like the source app. Encrypted office files often fail until opened and re-saved locally. Linked external resources, such as remote images and linked files in Office and OpenDocument documents, are removed before conversion, so they are missing from the PDF.
PDFs are the wrong input; they are already PDF. Images should use Images to PDF. Ebooks should use Ebook to PDF.
Features
- LibreOffice `--convert-to pdf`
- Office and text types listed on the upload control
- Not a generic any-file transcoder
- Anonymous API at /api/v1/convert/file/pdf
When to use this tool
- Turn a DOCX letter into a PDF for a portal that only takes PDF
- Print a spreadsheet to PDF when you accept LibreOffice pagination
- Convert ODT that was never opened in Word
How do I convert a Word document to PDF?
- Upload a .docx, .xlsx, .pptx, OpenDocument, .rtf, or .txt file.
- Click Process. There are no page-size options on this page.
- Download the PDF.
- Check page breaks against the original app's print preview.
Limits and edge cases
- Only formats soffice imports
- No print-area or paper-size fields
- Macros and encryption in the office file often fail
- Upload limit on this website: 500 MB per file, sent in chunks above about 95 MB. A single direct API request body is capped at 100 MB.
Examples
- A simple DOCX memo often becomes a close PDF of those pages
- A huge XLSX with no print area often becomes a surprising number of PDF pages
Privacy for this tool
Files are uploaded over HTTPS, processed in memory or a short-lived temporary directory on our servers, and deleted when your result is ready. We do not keep copies for later browsing, training, or advertising profiles. See the Privacy Policy for retention details and AdSense cookie disclosures.
Frequently asked questions
- Can I convert a PDF here?
- No. This path is office-to-PDF. PDF inputs belong on other tools.
- Why did my XLSX become many blank pages?
- LibreOffice prints sheets by its own page setup. Set print area in Excel and re-export, or crop after.
- Are macros executed?
- Do not rely on that. Treat this as an untrusted conversion sandbox and strip macros before upload if they matter.
- Is .txt wrapped or one long page?
- Whatever LibreOffice's text import does. Check the PDF; this tool does not expose wrapping options.
Last updated:
Call this from code
Every tool on this site is a plain REST endpoint - no account or API key needed for anonymous use. Built for AI agents and developers as much as for browsers.
curl -X POST "https://pdf123.xyz/api/v1/convert/file/pdf" \
-F "[email protected]" \
-o output.pdfAlso available as an MCP tool for agent clients that speak Model Context Protocol (JSON-RPC 2.0 over POST /mcp). Full API reference
Use it from an AI agent
SkillClaude Code, Codex, Cursor and other AI agents can run File to PDF for you with this skill: /skills/pdf123-file-to-pdf.md
Files are used only for this processing job and deleted automatically afterward.