PDF to Word

Convert PDF files to editable Word documents (.docx) by extracting text and preserving basic formatting

Convert PDF documents to editable Word format using pure Node.js.

Highlights:

  • Converts PDF to DOCX format
  • Extracts and preserves text content
  • Supports headings and basic formatting (bold, italic)
  • Works entirely in Node.js (no external dependencies)
  • Supports batch conversion

Example Results

1 examples

Single PDF to Word

Convert a single PDF document to editable Word format

sample-converted-docx.docx View File
View input parameters
{ "sourceFile": "/public/samples/pdf/sample.pdf" }

Click to upload file or drag and drop file here

Maximum file size: 50MB Supported formats: application/pdf

Key Facts

Category
Documents & PDF
Input Types
file
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

Easily convert your PDF files into fully editable Microsoft Word (.docx) documents. This tool extracts text content while preserving headings and basic formatting like bold and italic styles, allowing you to modify your documents without starting from scratch.

When to Use

  • When you need to edit the text content of a read-only PDF document in Microsoft Word.
  • When you want to extract text from a PDF while preserving basic formatting like headings, bold, and italic styles.
  • When you need to convert PDF reports or contracts into editable DOCX files for revision.

How It Works

  • Upload your PDF document using the file input field.
  • The tool processes the PDF, extracting the text layout, headings, and basic text formatting.
  • A downloadable Word document (.docx) is generated, ready for editing in any word processor.

Use Cases

Modifying contract terms or agreements that were only saved in PDF format.
Extracting text and headings from academic papers or reports for citation and editing.
Updating outdated product manuals or documentation without rewriting the entire text.

Examples

1. Converting a PDF Contract for Revision

Legal Assistant
Background
A legal assistant needs to update several clauses in an older contract, but only has the finalized PDF version.
Problem
Manually retyping the entire contract into Word would take hours and introduce typing errors.
How to Use
Upload the contract PDF to the tool and click convert to generate the Word document.
Outcome
An editable DOCX file is generated, preserving the original text, headings, and bold formatting for quick editing.

2. Extracting Text from a Research Report

Academic Researcher
Background
A researcher needs to quote and format sections of a PDF report for a new literature review.
Problem
Copying and pasting directly from the PDF often breaks line endings and loses bold or italic formatting.
How to Use
Upload the research PDF file and run the conversion.
Outcome
A clean Word document is produced with preserved headings and text formatting, making it easy to copy and paste clean text.

Try with Samples

pdf, text, file

Related Hubs

FAQ

Will the converted Word document be editable?

Yes, the output is a standard .docx file with editable text, headings, and basic formatting.

Does this tool preserve complex layouts and images?

The tool focuses on extracting text and preserving basic formatting like bold, italics, and headings. Complex multi-column layouts or embedded images may not be fully preserved.

What file formats are supported for conversion?

The tool accepts standard PDF files as input and outputs editable Microsoft Word (.docx) files.

Is there a file size limit for the PDF upload?

Yes, the maximum supported file size for a single PDF upload is 50 MB.

Can I convert scanned PDFs or images?

This tool extracts text directly from PDF documents; scanned PDFs containing only images of text may not convert to editable text.

API Documentation

Request Endpoint

POST /en/api/tools/pdf-to-word

Request Parameters

Parameter Name Type Required Description
sourceFile file (Upload required) Yes -

File type parameters need to be uploaded first via POST /upload/pdf-to-word to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-pdf-to-word": {
      "name": "pdf-to-word",
      "description": "Convert PDF files to editable Word documents (.docx) by extracting text and preserving basic formatting",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=pdf-to-word",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]