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.Parser 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-parser -- docker run --rm -i -v /path/to/documents:/data ghcr.io/groupdocs-parser/parser-net-mcp:latest
Folders, licensing and more →

GroupDocs.Parser allows to get the list of all the supported file formats by the getSupportedFileTypes static method:

Iterable<FileType> FileType.getSupportedFileTypes();

This method returns a collection of FileType items with the following members:

MemberDescription
getFileFormatFile type name e.g. “Microsoft Word Document”.
getExtensionFilename suffix (including the period “.”) e.g. “.doc”.

Also FileType contains static fields that represent all the supported file formats.

Here are the steps to get all the supported file formats:

The following example shows how to print all the supported file types:

// Get a collection of supported file formats
Iterable<FileType> supportedFileTypes = FileType.getSupportedFileTypes();
// Iterate over collection and print file format information
for (FileType fileType : supportedFileTypes) {
    System.out.println(fileType);
}

More resources

Advanced usage topics

To learn more about document data extraction features and get familiar how to extract text, images, forms and more, please refer to the advanced usage section.

GitHub examples

You may easily run the code above and see the feature in action in our GitHub examples:

Free online document parser App

Along with full featured Java library we provide simple, but powerful free Apps.

You are welcome to extract data from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our free online Free Online Document Parser App.