microsoft / microsoft/markitdown

Support TSV (Tab-Separated Values) files

Open
#2,022 0 comments 1 reaction 0 assignees View on GitHub

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:

  1. Accept .tsv files and text/tab-separated-values MIME type
  2. Auto-detect the delimiter using Python's built-in csv.Sniffer
  3. Fall back to tab for .tsv files, comma for .csv files

PR

#2021

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.