Get supported file formats

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Redaction MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.

claude mcp add groupdocs-redaction -- dnx GroupDocs.Redaction.Mcp --yes
Folders, licensing and more →

On this page

GroupDocs.Redaction allows to get the list of all supported file formats by these steps:

The following example demonstrates how to get supported file formats list.

from groupdocs.redaction import FileType


def list_supported_formats():
    # Retrieve the collection of supported file types
    supported_file_types = FileType.get_supported_file_types()

    # Enumerate the file types sorted by extension
    for file_type in sorted(supported_file_types, key=lambda x: x.extension):
        print(file_type)


if __name__ == "__main__":
    list_supported_formats()
Bitmap Image File (.bmp)
Comma Separated Values File (.csv)
DjVu Image (.djvu)
Microsoft Word Document (.doc)
Word Open XML Macro-Enabled Document (.docm)
Microsoft Word Open XML Document (.docx)
Word Document Template (.dot)
Word Open XML Macro-Enabled Document Template (.dotm)
Word Open XML Document Template (.dotx)
Graphical Interchange Format File (.gif)
[TRUNCATED]

Download full output

On this page