# Load a file of a specific format This example demonstrates how to load a file of some particular format. By default, GroupDocs.Markdown detects the file format automatically from the file extension or stream content. When you want to skip auto-detection or the file extension is missing, specify the format explicitly using `LoadOptions`. {{< tabs "load-specific-format">}} {{< tab "C#" >}} ```csharp using GroupDocs.Markdown; // Explicitly specify the format to skip auto-detection var loadOptions = new LoadOptions(FileFormat.Xlsx); using var converter = new MarkdownConverter("cost-analysis.xlsx", loadOptions); converter.Convert("load-specific-format.md"); ``` {{< /tab >}} {{< tab "cost-analysis.xlsx" >}} {{< tab-text >}} `cost-analysis.xlsx` is a sample file used in this example. Click [here](https://docs.groupdocs.com/markdown/net/_sample_files/developer-guide/advanced-usage/loading/cost-analysis.xlsx) to download it. {{< /tab-text >}} {{< /tab >}} {{< tab "load-specific-format.md" >}} ```text ## Summary | Category | FY2024 | FY2025 | FY2026 | | --- | --- | --- | --- | | Parts and materials | $1,325,000.00 | $1,480,000.00 | $1,620,000.00 | | Manufacturing equipment | $900,500.00 | $980,000.00 | $1,050,000.00 | | Warehousing | $420,000.00 | $510,000.00 | $590,000.00 | | Shipping | $380,000.00 | $445,000.00 | $520,000.00 | | Marketing | $250,000.00 | $340,000.00 | $480,000.00 | | R&D | $180,000.00 | $230,000.00 | $310,000.00 | [TRUNCATED] ``` [Download full output](https://docs.groupdocs.com/markdown/net/_output_files/developer-guide/advanced-usage/loading/load-a-file-of-a-specific-format/LoadSpecificFormat/load-specific-format.md) {{< /tab >}} {{< /tabs >}} ### Available FileFormat values The `FileFormat` enum includes the following values: | Category | Values | |---|---| | Word Processing | `Doc`, `Docx`, `Docm`, `Dot`, `Dotx`, `Dotm`, `Rtf`, `Odt`, `Ott` | | Spreadsheet | `Xlsx`, `Xls`, `Xlsb`, `Xlsm`, `Csv`, `Tsv`, `Ods`, `Ots` | | PDF | `Pdf` | | E-book | `Epub`, `Mobi` | | Text | `Txt` | | Help | `Chm` | You can also retrieve supported formats programmatically: {{< tabs "load-supported-formats">}} {{< tab "C#" >}} ```csharp using System.Collections.Generic; using GroupDocs.Markdown; IReadOnlyList formats = MarkdownConverter.GetSupportedFormats(); foreach (FileFormat fmt in formats) Console.WriteLine(fmt); ``` {{< /tab >}} {{< tab "load-supported-formats.txt" >}} ```text Doc Docx Docm Dot Dotx Dotm Rtf Odt Ott Xlsx [TRUNCATED] ``` [Download full output](https://docs.groupdocs.com/markdown/net/_output_files/developer-guide/advanced-usage/loading/load-a-file-of-a-specific-format/LoadSupportedFormats/load-supported-formats.txt) {{< /tab >}} {{< /tabs >}}