Split a document into parts
Aspose provides a powerful API to split Word documents. It’s a common document automation task when you need to break a large document into a number of smaller ones to handle them separately.
For example, you must have been in a situation when you have a massive DOCX file, requiring urgent team work. In this case, it is pretty necessary to divide a Word document into sub-documents to speed up the collaborative workflow.
Task to split a DOCX document by hand with manual copying and pasting may be a long, labor-intensive, sub-optimal approach. Instead, you can improve your efficiency dramatically with this API by breaking Word document into files, while specifying operation parameters as you need.
Using this API you can easily split a DOC, DOT, DOCX, DOTX, RTF, ODT, OTT, TXT document and save the results to DOC, DOCX, PDF, ODT, RTF, HTML, JPEG, PNG and many other file formats.
Usage examples with cURL and Postman
You can carry out REST API interactions using cURL
and Postman
. Please read these instructions to receive a personal JWT_TOKEN
for authorization.
Aspose.Words Cloud SDK Family
Using SDK is the best way to speed up the development. Please go to the GitHub repository to explore a wide family of our Cloud SDKs. These powerful libraries take care of all low-level programming details and let you focus on your primary tasks.
Usage examples in Python, Java, C#, etc.
The following code samples show how to interact with the REST API using almost any mainstream programming language.
You can find a lot of other examples in Python, Java, C#, JavaScript, PHP, C++, Golang, Ruby, Swift, Dart on GitHub. All codes are thoroughly tested and ready for production use.
Split DOCX to PDFs
The following code examples demonstrate how to split all pages in a Word document.
Split specific pages to PDFs
The following code examples demonstrate how to split specific pages of a Word document.
Split specific pages to any Supported Format
The following code examples demonstrate how to split a Word document to any format.