PDF to Word
Aspose provides a high fidelity API to programmatically convert PDF documents to Word format and in the opposite directions with professional quality. The combined use of Adobe and Microsoft Office technologies has a lot to offer to the end-user.
These major document formats, including DOCX, DOC, RTF, ODT and PDF, are capable of encapsulating almost any type of data including text, tables, raster and vector graphics, video, audio, and also support a wide range of formatting features.
Despite similarities, PDF and Word documents have considerable differences in the operational capabilities.
PDF documents support multilevel security options and are difficult to extract information. PDF format is the best choice when the document’s author allows others to read and print document copies only. Word document formats, in contrast, are great for collaborative development, but they aren’t always the best choice for distributing as they can be easily modified without author’s permission.
Aspose conversion engine transforms a PDF to Word-based document format, that can be naturally edited with any mainstream word processor. However, some complex formatting might appear slightly different from the original document. PDF to Word conversion supports detecting headers and footers. Sections of PDF pages containing page numbers, document names, etc. will be converted as Word’s headers and footers. These headers and footers do not affect the rest of the page layout and are not moved while the document is being edited.
Aspose PDF to Word conversion engine currently supports the following features:
- Text and paragraphs
- Text formatting (font, size, foreground/background, options like bold, italic, underline)
- Bulleted and numbered lists (including nested lists)
- Tables (bordered and non-bordered, without nested tables)
- Images conversion
- Semi-transparent images
- Rotated images
- Inline images (images that go “inside” the text, being a logical part of text paragraph)
- Encrypted PDF files
- Properly converts style and destination of hyperlinks, both to URLs and local files
- Headers/footers detection for PDF conversion
- Basic vector graphics
Usage examples with cURL and Postman
You can carry out REST API interactions using the REST Service Endpoint defines a publicly accessible programming interface and lets you run PDF to Word conversions directly from a web browser.
You can use cURL command-line tool to access Aspose.Words web services and convert PDF documents to Word format easily. The following code demonstrates how to convert PDF to DOCX with cURL. Download sample demo.pdf and output demo.docx files for testing purposes.
Aspose.Words Cloud SDK Family
Using SDK is the best way to speed up the development. Our Cloud SDKs take care of low-level details and let you focus on your primary tasks.
Please check out the GitHub repository for a complete list of Aspose.Words SDKs.
The following code examples demonstrate how to convert PDF to Word programmatically using various Aspose.Words SDKs: