microsoft/markitdown
Python tool for converting files and office documents to Markdown.
Python★ 180,696+886 that day#1 on trending5.67% duplicated
108files
22,430lines
192,018tokens
83clones
1,272duplicated lines (5.67%)
6,815duplicated tokens (3.55%)
By format
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| python | 70 | 16,433 | 75 | 1,196 | 7.28% |
| markdown | 14 | 1,545 | 5 | 31 | 2.01% |
| toml | 4 | 311 | 2 | 34 | 10.93% |
| yaml | 2 | 66 | 1 | 11 | 16.67% |
| markup | 3 | 2,448 | 0 | 0 | 0% |
| bash | 12 | 1,329 | 0 | 0 | 0% |
| perl | 1 | 168 | 0 | 0 | 0% |
| json | 2 | 130 | 0 | 0 | 0% |
Largest clones
- 42 lines · 152 tokens pythonpackages/markitdown/src/markitdown/converters/_image_converter.py:95–136⇆packages/markitdown/src/markitdown/converters/_llm_caption.py:9–48
- 26 lines · 148 tokens pythonpackages/markitdown-ocr/src/markitdown_ocr/_pptx_converter_with_ocr.py:155–180⇆packages/markitdown/src/markitdown/converters/_pptx_converter.py:187–212
- 31 lines · 143 tokens pythonpackages/markitdown/src/markitdown/converters/_docx_converter.py:45–75⇆packages/markitdown/src/markitdown/converters/_epub_converter.py:28–58
- 26 lines · 141 tokens pythonpackages/markitdown/tests/test_pdf_tables.py:735–760⇆packages/markitdown/tests/test_pdf_tables.py:830–855
- 24 lines · 133 tokens pythonpackages/markitdown/tests/test_pdf_tables.py:787–810⇆packages/markitdown/tests/test_pdf_tables.py:875–898
- 23 lines · 132 tokens pythonpackages/markitdown/tests/test_pdf_tables.py:735–757⇆packages/markitdown/tests/test_pdf_tables.py:913–935
- 8 lines · 129 tokens markdownpackages/markitdown/tests/test_files/expected_outputs/REPAIR-2022-INV-001_multipage.md:30–37⇆packages/markitdown/tests/test_files/expected_outputs/REPAIR-2022-INV-001_multipage.md:68–76
- 33 lines · 128 tokens pythonpackages/markitdown-sample-plugin/src/markitdown_sample_plugin/_plugin.py:36–68⇆packages/markitdown/src/markitdown/converters/_image_converter.py:18–53
- 11 lines · 125 tokens pythonpackages/markitdown-ocr/tests/test_docx_converter.py:236–246⇆packages/markitdown/tests/test_module_misc.py:389–399
- 31 lines · 123 tokens pythonpackages/markitdown/src/markitdown/converters/_docx_converter.py:45–75⇆packages/markitdown/src/markitdown/converters/_pptx_converter.py:36–66
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | Duplication | Commit |
|---|---|---|---|---|---|---|---|
| Sep 8, 2026 | #1 | 180,696 (+886) | 108 | 22,430 | 83 | 5.67% | b6e8bbd |
Want this for your own project? Install jscpd and run jscpd .