DOCX, DOC, RTF Support

Convert Word to PDF via API

Transform Word documents to PDF automatically. Preserve formatting, images, headers and styles. Perfect for report automation and document generation.

# Convert Word (DOCX) to PDF
curl -X POST \
  https://api.convertfilefast.com/v1/convert \
  -H "X-API-Key: your_api_key" \
  -F "file=@document.docx" \
  -o document.pdf

# HTTP 200 OK — Content-Type: application/pdf
Conversion completed in <2s

Advantages

Why use our API?

Complete and reliable solution for integration in any tech stack.

Preserve styles and formatting

Maintain custom fonts, paragraph styles, lists, tables and all document formatting.

Images and graphics

Embedded images, diagrams and custom shapes are rendered with full fidelity in the PDF.

Headers and footers

Document headers, footers and page numbers are preserved exactly as in the original Word file.

DOCX and DOC support

Compatible with all Word formats, from classic DOC to modern DOCX. Also supports RTF.

Fast conversion

Word documents convert in seconds on paid plans. The size ceiling depends on your plan.

Zero storage

Your documents are processed in memory and immediately discarded. Complete privacy guaranteed.

How it works

4 steps to run this conversion

  1. 1

    Create an API key

    Sign up at convertfilefast.com/signup and copy your cff_ API key from the dashboard. The free tier includes 10 conversions per month.

  2. 2

    POST the Word file to the endpoint

    Send a multipart/form-data POST to https://api.convertfilefast.com/v2/convert/docx-to-pdf with header X-API-Key: cff_your_key and either a file field (upload) or url field (public URL). The endpoint also accepts .doc files.

  3. 3

    Receive the PDF file

    The response body is the converted PDF, streamed back with the appropriate Content-Disposition filename. Save it to disk or forward it to the next step in your pipeline.

  4. 4

    Or invoke via MCP for AI agents

    Add the MCP server to Claude, Cursor, or any MCP-compatible client with the URL https://mcp.convertfilefast.com/mcp. Then call convert_file({ source_format: 'docx', target_format: 'pdf', source_url: '...' }) as a single tool call — no HTTP client needed.

For AI agents

Or call this from Claude, Cursor, or any MCP client

Convert File Fast ships a native Model Context Protocol server. Give this conversion to an AI agent as a single tool call — no HTTP client, no binary handling, per-user API keys.

Local install
npx -y convertfilefast-mcp
MCP tool call
convert_file({ target_format: "pdf", source_url: "https://example.com/file.docx" })

FAQ

Frequently Asked Questions

How accurate is the formatting when converting Word to PDF?

Conversion runs on LibreOffice, which preserves formatting, images, headers, footers, and tables faithfully for the vast majority of documents — the same engine used by our PDF-to-DOCX endpoint, just running in the other direction.

Which file types are accepted?

Both .doc and .docx are accepted. Macro-enabled documents (.docm) are not currently supported — convert to a standard .docx first if your workflow produces macro-enabled files.

How do I call this from an AI agent like Claude or Cursor?

Add the ConvertFileFast MCP server to your client with the URL https://mcp.convertfilefast.com/mcp and your API key. The agent then calls convert_file({ source_format: 'docx', target_format: 'pdf', source_url: '...' }) as a single tool invocation, without touching HTTP requests or binary payloads.

Are my Word files stored on your servers?

No. Files are processed in memory and deleted immediately after the converted PDF is streamed back. No persistent storage, no training, no third-party sharing.

What is the maximum file size?

Limits depend on your plan and are enforced per API key — the API reports the ceiling it currently accepts at https://api.convertfilefast.com/v1/info, and your own plan limit is shown in your dashboard. If your document is larger, split it into smaller files before converting.

How is pricing calculated?

Each conversion counts as one unit against your monthly quota. The free plan includes 10 conversions per month. Prepaid credit packs start at $4 for 1,000 conversions ($0.004 each). Subscription plans start at $9/month for 5,000 conversions.

Ready to convert Word to PDF?

Create your free account and start converting Word documents to PDF via API. No credit card, 10 free conversions.

No credit card. 10 free conversions on Free plan.