Supported Input and Output File Formats

Aspose.HTML for Python via .NET processes HTML and related web formats as source documents and can save or convert them to web, document, and raster image formats. The available workflow depends on whether a format is supported for input, output, or both.

HTML, XHTML, MHTML, SVG, and Markdown are supported as both input and output formats. EPUB is an input format. PDF, XPS, DOCX, TIFF, JPEG, PNG, BMP, GIF, and WEBP are output formats generated through conversion or rendering.

Supported Input and Output Formats

In the following table, Input means that a format can be used as a source by the corresponding document or conversion API. Output means that Aspose.HTML can save or generate that format.

FormatDescriptionInputOutput
HTMLHyperText Markup Languageticktick
XHTMLExtensible HyperText Markup Languageticktick
MHTMLMIME HTML web archiveticktick
EPUBElectronic publication formattick
SVGScalable Vector Graphicsticktick
MDMarkdown markup languageticktick
PDFPortable Document Formattick
XPSXML Paper Specificationtick
DOCXMicrosoft Word Open XML documenttick
TIFFTagged Image File Formattick
JPEGJoint Photographic Experts Group imagetick
PNGPortable Network Graphics imagetick
BMPBitmap imagetick
GIFGraphics Interchange Format imagetick
WEBPWebP raster imagetick

Format Support Notes

Next Steps