This Visual Studio Code extension allows you to quickly convert tables copied from Excel or TSV files into aligned Markdown tables directly in your editor.
Command
Convert Excel/TSV to Markdown Table: Converts the selected text into a Markdown table.
To link a shortcut to this function, go to Settings --> Keyboard Shortcuts --> Search for 'excelToMarkdown.convert'
How it works
Select the tab-separated values you want to convert
With the text selected, click the shortcut you choose
Sample
INPUT
dog_id name breed age weight_kg color owner_city vaccinated registration_date
1 Luna Labrador Retriever 3 28.5 Black Milan true 2024-01-10
2 Rocky German Shepherd 5 34.2 Brown Rome true 2023-06-15
3 Bella Golden Retriever 2 26.7 Golden Turin true 2025-02-21
4 Max Bulldog 4 22.3 White Bologna false 2022-11-05
5 Charlie Beagle 6 18.1 Tricolor Florence true 2021-09-30
6 Lucy Poodle 1 9.4 White Venice true 2025-07-12
7 Cooper Boxer 3 30.8 Fawn Naples true 2023-04-18
8 Daisy Dachshund 7 8.6 Brown Verona false 2020-12-02
9 Milo Border Collie 4 20.5 Black/White Padua true 2022-08-19
10 Bailey Cocker Spaniel 5 14.7 Golden Genoa true 2021-03-14