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.Search MCP server lets your agent work with files on your machine; they are never uploaded. It runs in Docker: replace /path/to/documents with the folder it may use.

claude mcp add groupdocs-search -- docker run --rm -i -v /path/to/documents:/data ghcr.io/groupdocs-search/search-net-mcp:latest
Folders, licensing and more →

The get_supported_file_types method of the FileType class is used to obtain a list of supported file types.

The returned list also contains the FileType.UNKNOWN value, which has an empty extension. An example of obtaining a list of supported file types is presented below. The example filters and sorts the list with a generator expression and the built-in sorted function.

from groupdocs.search.results import FileType

supported_file_types = sorted(
    (ft for ft in FileType.get_supported_file_types() if ft != FileType.UNKNOWN),  # Skipping the unknown file type
    key=lambda ft: ft.extension)

for file_type in supported_file_types:
    print(file_type.extension.ljust(8) + " - " + file_type.description)
.asf     - Advanced Systems Format File
.avi     - Audio Video Interleave File
.bmp     - Bitmap Picture
.chm     - Microsoft Compiled HTML Help
.csv     - Comma-Separated Values
.dc3     - Medicine Image File Format
.dcm     - DICOM Image
.dic     - DICOM Image
.dicom   - DICOM Image
.djv     - DjVu Image
[TRUNCATED]

Download full output

More resources

Advanced usage topics

To learn more about search features and get familiar how to enhance your search solution, please refer to the advanced usage section.

GitHub examples

You may easily run the code from documentation articles and see the features in action in our GitHub examples:

Free online document search App

Along with the full-featured Python library we provide simple, but powerful free Apps.

You are welcome to search over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more with our free online Free Online Document Search App.