microsoft / microsoft/markitdown
Support TSV (Tab-Separated Values) files
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 186k
- Forks
- 13.7k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 49
Description
Description
The CsvConverter currently only handles .csv files with comma delimiters. TSV (Tab-Separated Values) files are extremely common in data science, bioinformatics, spreadsheet exports, and LLM pipelines, but are not supported.
Expected behavior
MarkItDown should convert .tsv files to Markdown tables, just like it does for .csv files.
Proposed solution
Extend the existing CsvConverter to:
- Accept
.tsvfiles andtext/tab-separated-valuesMIME type - Auto-detect the delimiter using Python's built-in
csv.Sniffer - Fall back to tab for
.tsvfiles, comma for.csvfiles
PR
#2021
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the existing CsvConverter and its handling of CSV files. Extend the converter to recognize TSV files and their MIME type, detect delimiters with csv.Sniffer, and preserve the stated CSV and TSV fallbacks; done means TSV input converts to Markdown tables like CSV input.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100