GroupDocs.Conversion
Convert between 170+ document and image formats — PDF, Office, CAD, email, and more — with a single, consistent API across .NET, Java, Node.js, and Python.
4 platforms
170+ formats
Latest v26.5.0
Choose your platform selecting one updates the snippets below
Getting started with .NET
using GroupDocs.Conversion;
using GroupDocs.Conversion.Options.Convert;
// Load the source PDF file
using (var converter = new Converter("resume.pdf"))
{
// Set the convert options
var convertOptions = new WordProcessingConvertOptions();
// Convert PDF to DOCX
converter.Convert("resume.docx", convertOptions);
}
import com.groupdocs.conversion.Converter;
import com.groupdocs.conversion.options.convert.WordProcessingConvertOptions;
// Load the source PDF file
Converter converter = new Converter("resume.pdf");
// Set the convert options
WordProcessingConvertOptions convertOptions = new WordProcessingConvertOptions();
// Convert PDF to DOCX
converter.convert("resume.docx", convertOptions);
const groupdocs = require('@groupdocs/groupdocs.conversion');
// Load the source DOCX file
const converter = new groupdocs.Converter("source.docx");
// Set the convert options
const convertOptions = new groupdocs.PdfConvertOptions();
// Convert DOCX to PDF
converter.convert("converted.pdf", convertOptions);
from groupdocs.conversion import Converter
from groupdocs.conversion.options.convert import PdfConvertOptions
# Load the source DOCX file
with Converter("business-plan.docx") as converter:
# Set conversion options
convert_options = PdfConvertOptions()
# Convert DOCX to PDF
converter.convert("converted.pdf", convert_options)
Popular classes & namespaces
Class
Converter
GroupDocs.Conversion
Method
Converter.Convert
GroupDocs.Conversion
Class
FluentConverter
GroupDocs.Conversion
Class
ConverterSettings
GroupDocs.Conversion
Class
PdfConvertOptions
Options.Convert
Class
ImageConvertOptions
Options.Convert
Class
FileType
Conversion.FileTypes
Class
PossibleConversions
Conversion.Contracts
Key capabilities
- Convert 170+ document & image formats
- Convert to PDF, image, HTML & more
- Page-range & watermark options
- Load from file, stream or URL
- Conversion caching
- Preview before converting
Supported formats
PDFWordExcelPowerPointHTMLImagesCADEmail
…and 160+ more across documents, images, CAD, and email.
Resources
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.
