# Get supported file formats This page describes how to obtain supported file formats list when annotate documents and images with GroupDocs.Annotation within your Java applications. [GroupDocs.Annotation](https://products.groupdocs.com/annotation/java) allows you to get the list of supported file formats. To do this, follow these steps: 1. Call the [getSupportedFileTypes](https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.options/filetype/#getSupportedFileTypes--) method of the [FileType](https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.options/filetype/) class. 2. Enumerate through the collection of [FileType](https://reference.groupdocs.com/annotation/java/com.groupdocs.annotation.options/filetype/) objects. The following code snippet shows how to get supported file formats list: {{< tabs "example1">}} {{< tab "Java" >}} ```java // This example demonstrates file types support // Get list of supported file List fileTypes = FileType.getSupportedFileTypes(); Iterator tmp0 = (fileTypes).iterator(); // Iterating elements and print file types while (tmp0.hasNext()) { FileType fileType = (FileType) tmp0.next(); System.out.println(fileType.getExtension()); } ``` {{< /tab >}} {{< /tabs >}}