---
title: "Convert a Document in Python"
---


{{% alert color="grey" %}}
*Purpose Summary. What is this page about?*

This page explains how to convert documents between various formats using Aspose.Words for Python via .NET, describing the simple load‑and‑save process and providing links to examples of popular conversion scenarios.
{{% /alert %}}

The ability to easily and reliably convert documents from one format to another is one of the main feature areas of Aspose.Words. Such a conversion is nothing more than a combination of loading and saving operations.

Almost any task that you want to perform with Aspose.Words involves loading or saving a document in some format. As mentioned in previous sections, the [LoadFormat](https://reference.aspose.com/words/python-net/aspose.words/loadformat/) enumeration specifies all *load* or *import* formats supported by Aspose.Words, and the [SaveFormat](https://reference.aspose.com/words/python-net/aspose.words/saveformat/) enumeration specifies all *save* or *export* formats supported by Aspose.Words. Thus, Aspose.Words can convert a document from any supported load format into any supported save format. As a rule, such a conversion requires several stages of calculation. However from the user perspective conversion from a document format to another one is itself very simple, and can be accomplished with just two steps:

1. Load your document into a [Document](https://reference.aspose.com/words/python-net/aspose.words/document/) object using one of its constructors.
1. Invoke one of the [save](https://reference.aspose.com/words/python-net/aspose.words/document/save/) methods on the [Document](https://reference.aspose.com/words/python-net/aspose.words/document/) object and specify the desired output format.

{{% alert color="primary" %}}

**Try online**

You can try the conversion functionality by using our [Free online converter](https://products.aspose.app/words/conversion) tool.

{{% /alert %}}

The current section describes popular conversions, as well as ideas for working with some combinations of formats when loading and saving. Using the examples of this section, you can understand that the conversion process itself is quite universal, and there is no point in describing all the possible options, since there are several hundred of them due to the large number of [formats supported by Aspose.Words for Python via .NET](/words/python-net/supported-document-formats/).

{{% alert color="primary" %}}

Please note that below are the most popular conversion combinations, and not every combination is linked to the definite page. This is the case because our articles do not have examples for every pair of conversions – almost all conversions are pretty similar. Make sure of this by studying the articles in the current section.

{{% /alert %}}

<div class="row">
	<div class="col-md-4">
		<h2>Convert Word to PDF</h2>
			<ul>
				<li><a href="/words/python-net/convert-a-document-to-pdf/#converting-doc-or-docx-to-pdf">Convert DOC to PDF</a></li>
				<li><a href="/words/python-net/convert-a-document-to-pdf/#converting-doc-or-docx-to-pdf">Convert DOCX to PDF</a></li>
				<li>and others</li>
			</ul>
		<h2>Convert Image to PDF</h2>
			<ul>
				<li><a href="/words/python-net/convert-a-document-to-pdf/#convert-an-image-to-pdf">Convert JPG to PDF</a></li>
				<li><a href="/words/python-net/convert-a-document-to-pdf/#convert-an-image-to-pdf">Convert TIFF to PDF</a></li>
				<li>and others</li>
			</ul>
		<h2>Convert Web Formats to PDF</h2>
			<ul>
				<li>Convert Markdown to PDF</li>
				<li>Convert HTML to PDF</li>
				<li>Convert MHT (MHTML) to PDF</li>
				<li>and others</li>
			</ul>
		<h2>Convert Other Formats  to PDF</h2>
			<ul>
				<li>Convert RTF to PDF</li>
				<li>Convert ODT to PDF</li>
				<li>Convert TXT to PDF</li>
				<li>Convert Mobi to PDF</li>
				<li>and others</li>
			</ul>
	</div>
	<div class="col-md-4">
		<h2>Convert PDF to Word</h2>
			<ul>
				<li><a href="/words/python-net/convert-pdf-to-other-document-formats/">Convert PDF to DOCX</a></li>
        <li>Convert PDF to DOC</li>
				<li>and others</li>
			</ul>
		<h2>Convert PDF to Image</h2>
			<ul>
				<li><a href="/words/python-net/convert-a-document-to-an-image/">Convert PDF to JPG</a></li>
        <li>Convert PDF to SVG</li>
				<li>and others</li>
			</ul>
		<h2>Convert PDF to Web Formats</h2>
			<ul>
        <li>Convert PDF to Markdown</li>
				<li>Convert PDF to HTML</li>
				<li>Convert PDF to EPUB</li>
				<li>and others</li>
			</ul>
		<h2>Convert PDF to Other Formats</h2>
			<ul>
				<li>Convert PDF to RTF</li>
				<li>Convert PDF to XPS</li>
				<li>and others</li>
			</ul>
	</div>
	<div class="col-md-4">
		<h2>Convert a Document to an Image</h2>
			<ul>
				<li><a href="/words/python-net/convert-a-document-to-an-image/">Convert PDF to JPG</a></li>
				<li><a href="/words/python-net/convert-a-document-to-an-image/">Convert DOCX to JPG</a></li>
				<li>and others</li>
			</ul>
		<h2>Convert a Document to Markdown</h2>
			<ul>
				<li><a href="/words/python-net/convert-a-document-to-markdown/">Convert a Document to Markdown</a></li>
				<li>Convert HTML to Markdown</li>
				<li>and others</li>
			</ul>
		<h2>Convert a Document to HTML</h2>
			<ul>
				<li><a href="/words/python-net/convert-a-document-to-html-mhtml-or-epub/#convert-a-document">Convert Word to HTML</a></li>
				<li>Convert Markdown to HTML</li>
				<li>Convert Mobi to EPUB</li>
				<li>and others</li>
			</ul>
	</div>
</div>