# Markdown Anything > The document-to-Markdown conversion API built for LLMs and RAG pipelines. Convert any file into clean, structured context in seconds. --- ## Supported Formats ### PDF to Markdown URL: https://markdownanything.com/convert/pdf-to-markdown Extensions: pdf Convert PDF files to clean, structured Markdown. Tables, layouts, and formatting preserved. Built for LLMs and RAG pipelines. Capabilities: - Multi-column layout detection preserves document structure across complex page designs - Table extraction maps rows, columns, merged cells, and headers to Markdown tables - Heading hierarchy is inferred from font size and weight for proper semantic structure - Image OCR extracts text from embedded charts, diagrams, and scanned pages - List detection identifies numbered and bulleted lists regardless of formatting style - Footer and header stripping removes repeated page elements for cleaner output - Supports Enhanced AI mode for higher accuracy ### Word to Markdown URL: https://markdownanything.com/convert/word-to-markdown Extensions: docx, doc Convert Word documents (DOCX, DOC) to clean, structured Markdown. Headings, lists, tables, and rich formatting preserved automatically for LLMs and RAG pipelines. Capabilities: - Native OOXML parsing preserves heading levels, bold, italic, and inline formatting - Nested lists with mixed numbering and bullet styles are correctly mapped - Table structures including merged cells and header rows are preserved - Embedded images are extracted and referenced in the Markdown output - Track changes and comments are stripped for clean final output - Legacy .doc files are handled through automatic format detection and conversion ### Excel to Markdown URL: https://markdownanything.com/convert/excel-to-markdown Extensions: xlsx, xls Convert Excel spreadsheets (XLSX, XLS) to Markdown tables. Multi-sheet support with column headers, merged cells, and data structure preserved for downstream processing. Capabilities: - Multi-sheet workbooks are converted with clear section headers per sheet - Column headers are detected automatically and mapped to Markdown table headers - Merged cells are expanded to preserve the visual data layout - Number formatting including currency, percentages, and dates is preserved as text - Empty rows and columns are intelligently trimmed for cleaner output - Large datasets are handled efficiently without truncation or data loss ### PowerPoint to Markdown URL: https://markdownanything.com/convert/powerpoint-to-markdown Extensions: pptx, ppt Convert PowerPoint presentations (PPTX, PPT) to Markdown. Slides become structured sections with content hierarchy. Capabilities: - Each slide becomes a structured section with proper heading hierarchy - Speaker notes are included as blockquotes below their corresponding slides - Bullet point hierarchies and indentation levels are accurately mapped - Embedded tables and charts are converted to Markdown table format - Slide titles are extracted as section headings for clear document structure - Legacy .ppt files are supported through automatic format detection ### HTML to Markdown URL: https://markdownanything.com/convert/html-to-markdown Extensions: html, htm Convert HTML files to clean, structured Markdown. Navigation, scripts, and styling stripped automatically while semantic content, links, and tables are preserved. Capabilities: - Semantic HTML tags (article, section, header) are mapped to Markdown structure - Script tags, style blocks, and navigation elements are automatically stripped - Links are preserved as inline Markdown links with their original URLs - HTML tables are converted to proper Markdown table syntax - Image tags are converted to Markdown image references - Nested lists and definition lists are handled with correct indentation ### Plain Text to Markdown URL: https://markdownanything.com/convert/txt-to-markdown Extensions: txt Convert plain text files to structured Markdown. Headings, lists, and paragraphs detected and formatted automatically. Capabilities: - Heading detection infers structure from ALL CAPS lines and separator patterns - List detection identifies dash, asterisk, and numbered list patterns - Code blocks are detected from indentation patterns and fenced syntax - Paragraph boundaries are preserved with proper Markdown spacing - URL detection converts raw URLs into clickable Markdown links - Whitespace normalization cleans up inconsistent formatting ### Rich Text to Markdown URL: https://markdownanything.com/convert/rtf-to-markdown Extensions: rtf Convert Rich Text Format (RTF) files to clean Markdown. Bold, italic, lists, tables, and document structure preserved automatically for LLMs and automation. Capabilities: - RTF control words are parsed to extract bold, italic, and underline formatting - Font size changes are used to infer heading hierarchy - Numbered and bulleted lists are detected from RTF list formatting commands - Table structures are extracted and mapped to Markdown tables - Embedded images are extracted and referenced in the output - Character encoding is handled automatically for international documents ### CSV to Markdown URL: https://markdownanything.com/convert/csv-to-markdown Extensions: csv Convert CSV files to properly formatted Markdown tables. Column headers auto-detected, data aligned, and delimiters handled automatically. Ready for LLM consumption. Capabilities: - First-row header detection automatically creates Markdown table headers - Delimiter auto-detection handles comma, semicolon, tab, and pipe separators - Column alignment is inferred from data types (numbers right-aligned, text left-aligned) - Quoted fields with embedded commas and newlines are handled correctly - Large datasets are processed efficiently without row limits - UTF-8 and other encodings are detected and converted properly ### XML to Markdown URL: https://markdownanything.com/convert/xml-to-markdown Extensions: xml Convert XML files to readable, structured Markdown. Nested elements flattened into headings, lists, and tables with attributes and namespaces handled automatically. Capabilities: - Nested element hierarchies are mapped to Markdown heading levels - Repeated elements are detected and converted to lists or tables - Attributes are included alongside element content for complete data capture - CDATA sections are extracted and included as plain text or code blocks - Namespace prefixes are handled for complex XML schemas - Large XML files are streamed for memory-efficient processing ### JSON to Markdown URL: https://markdownanything.com/convert/json-to-markdown Extensions: json Convert JSON files to readable, structured Markdown. Nested objects become headings and lists, arrays of objects become tables. Built for LLM context and documentation. Capabilities: - Nested objects are converted to heading hierarchies with proper depth - Arrays of objects are automatically detected and mapped to Markdown tables - Primitive arrays are rendered as bulleted lists - Key names are formatted as readable headings with proper casing - Deeply nested structures are flattened with clear parent context - Large JSON files are processed with streaming for efficiency ### EPUB to Markdown URL: https://markdownanything.com/convert/epub-to-markdown Extensions: epub Convert EPUB ebooks to structured Markdown. Chapters, formatting, table of contents, and footnotes preserved. Extract book content for LLMs and knowledge bases. Capabilities: - Chapter detection creates proper heading hierarchy from the table of contents - XHTML content within EPUB is parsed and converted to semantic Markdown - Inline formatting including bold, italic, code, and links are preserved - Embedded images are extracted and referenced in the Markdown output - Footnotes and endnotes are converted to Markdown footnote syntax - Metadata (title, author, publisher) is included in the document header ### OpenDocument Text to Markdown URL: https://markdownanything.com/convert/odt-to-markdown Extensions: odt Convert OpenDocument Text (ODT) files from LibreOffice and OpenOffice to clean Markdown. Headings, lists, tables, and formatting preserved automatically. Capabilities: - ODF XML parsing extracts headings, paragraphs, and formatting styles - LibreOffice and OpenOffice styles are mapped to Markdown equivalents - Tables with complex formatting are converted to Markdown table syntax - Embedded images and charts are extracted and referenced - List styles with custom numbering schemes are properly handled - Footnotes and annotations are converted to Markdown format ### OpenDocument Spreadsheet to Markdown URL: https://markdownanything.com/convert/ods-to-markdown Extensions: ods Convert OpenDocument Spreadsheet (ODS) files from LibreOffice Calc to Markdown tables. Multi-sheet support with headers, formatting, and data structure preserved. Capabilities: - Multi-sheet workbooks are organized with clear section headers - Cell formatting including currency and percentages is preserved as text - Merged cells are expanded to maintain the data layout - Column headers are detected and mapped to Markdown table headers - Number formats from LibreOffice styles are correctly interpreted - Empty rows and columns are trimmed for cleaner output ### OpenDocument Presentation to Markdown URL: https://markdownanything.com/convert/odp-to-markdown Extensions: odp Convert OpenDocument Presentation (ODP) files from LibreOffice Impress to Markdown. Slides become structured sections with notes and content hierarchy preserved. Capabilities: - Each slide is extracted as a structured section with proper headings - Presentation notes are included as blockquotes below slide content - Bullet point hierarchies and text formatting are preserved - Tables and shapes with text content are extracted and converted - Slide titles become section headings for clear navigation - Drawing objects with text labels are included in the output ### Images to Markdown URL: https://markdownanything.com/convert/images-to-markdown Extensions: jpg, jpeg, png Convert images (JPG, PNG) to Markdown with AI-powered OCR. Extract text, tables, and structure from screenshots, scanned documents, and photos automatically. Capabilities: - AI-powered OCR extracts text from photos, scans, and screenshots - Layout detection preserves the spatial structure of the original document - Table detection in scanned documents maps to Markdown table format - Handwriting recognition supports printed and cursive text styles - Multi-language support for documents in various character sets - Enhanced AI mode provides higher accuracy for complex layouts and low-quality images - Supports Enhanced AI mode for higher accuracy ### Audio to Markdown URL: https://markdownanything.com/convert/audio-to-markdown Extensions: wav, mp3, m4a Convert audio files (MP3, WAV, M4A) to structured Markdown transcripts. Speaker detection, timestamps, and topic sections included for meetings and interviews. Capabilities: - Speech-to-text engine handles meetings, interviews, and voice memos - Speaker diarization identifies and labels different speakers - Timestamps are included for easy reference to specific moments - Topic detection creates section headings for long recordings - Background noise filtering improves transcription accuracy - Multiple audio formats (MP3, WAV, M4A) are supported natively --- ## API - Endpoint: POST https://markdownanything.com/api/v1/convert - Authentication: Bearer token (Sanctum) - Format: multipart/form-data with file upload - Options: include_metadata, use_enhanced_ai, optimize_tokens - Async processing with webhook delivery --- ## Pricing - Starter: 500 credits/month, $12/mo - Professional: 5000 credits/month, $49/mo - Business: 25000 credits/month, $149/mo - Enterprise: Custom volume and pricing — [Contact sales](https://markdownanything.com/enterprise) --- ## Integrations - **MCP Server**: Model Context Protocol integration for AI agents - **Zapier**: No-code workflow automation - **n8n**: Open-source workflow engine - **Make**: Visual automation platform - **Webhooks**: Custom HTTP callbacks for async conversion results --- ## Links - [Homepage](https://markdownanything.com) - [API Documentation](https://markdownanything.com/docs) - [Enterprise](https://markdownanything.com/enterprise) - [Blog](https://markdownanything.com/blog) - [OpenAPI Spec](https://markdownanything.com/openapi.json)