free tool · no sign-up · runs in your browser

Table converter

Paste a table in any common format: the HTML behind a web page, a Markdown table from GitHub or ChatGPT, a CSV file, an array of JSON objects, or cells copied from a spreadsheet. The format is detected from what you paste. Pick the one you need and copy it.

paste here

result

read as Markdown table

preview

2 rows × 3 columns
AppPastes intoHotkey
Pastelyany app⌘⇧V
Finderfiles⌥⌘V

On a Mac? Skip this tab next time. Pastely does it in any app: copy, press ⌘⇧V, and it pastes in the format that app needs.

Download Pastely free

Free to embed. Put this table converter on your blog, docs or class page.

The same table in each format

FormatLooks likeUse it for
Markdown| a | b |GitHub, Notion, Obsidian, docs
HTML<table><tr><td>a</td>…Web pages, email templates, CMSs
CSVa,bImporting into apps and databases
TSVa⇥bPasting into a spreadsheet
JSON[{"a": "…"}]Code, APIs, config

Getting a table off a web page

Selecting a table on a page and copying it usually works, but you also pick up links, footnote markers and hidden cells. For a clean copy, right-click the table, choose Inspect, then right-click the highlighted <table> element and choose Copy › Copy outerHTML. Paste that here and every cell comes out as plain text.

CSV or TSV?

Both put one row per line. CSV separates cells with commas and wraps cells that contain commas in quotes, which is what most apps import. TSV separates cells with tabs, which is what spreadsheets produce when you copy cells and what they split on when you paste.

Table Converter: questions

How do I convert an HTML table to CSV?+

Right-click the table in your browser, choose Inspect, then right-click the <table> element and choose Copy › Copy outerHTML. Paste it here and pick CSV. Tags, links and entities like &amp; are cleaned out of the cells.

How do I copy a table from ChatGPT into Excel?+

Copy ChatGPT's answer with its copy button, which gives you a Markdown table with pipes. Paste it here, choose TSV, copy, and paste into Excel or Google Sheets. Each value lands in its own cell.

Which formats does it detect?+

HTML tables, Markdown pipe tables, JSON (an object or an array of objects), tab-separated cells from a spreadsheet, CSV with commas or semicolons, and columns lined up with two or more spaces, like terminal output.

What happens to nested JSON?+

Nested objects become columns with dotted names, like address.city. A list inside a value stays as JSON text in one cell, because a table cell can't hold a list.

More free tools

Paste as Plain Text

Strip fonts, colours and links from copied text, and the invisible characters too.

Remove Line Breaks

Fix text copied from a PDF: join broken lines back into paragraphs.

Case Converter

UPPER, lower, Title, Sentence, camelCase, snake_case and more in one click.

Word Counter

Words, characters, sentences, paragraphs and reading time as you type.

JSON Formatter

Format, validate and minify JSON, and fix trailing commas and single quotes.

Markdown Table Generator

Paste cells from Excel, Google Sheets or a CSV and get a Markdown, HTML or JSON table.

Remove Duplicate Lines

Dedupe, sort, trim and clean up any list in one paste.

Clipboard Viewer

See everything on your clipboard: plain text, HTML, images and hidden formats.

Mac Copy & Paste Shortcuts

Every copy, paste and screenshot shortcut on a Mac, searchable.

Paste Into Google Sheets

Turn any copied table, list or CSV into columns that paste straight into Sheets or Excel.

JSON to CSV

Turn a JSON array into CSV or spreadsheet cells, nested objects flattened.

CSV to JSON

Turn a CSV or spreadsheet into a JSON array, with numbers and true/false typed.

ChatGPT Text Formatter

Fix the asterisks and hashes when you paste ChatGPT text into WhatsApp, Slack or a plain text box.

Markdown to Rich Text

Copy Markdown as real formatting for Google Docs, Gmail, Word and Notes.

Rich Text to Markdown

Paste from Google Docs, Word or a web page and get clean Markdown.

JSON to TypeScript

Generate TypeScript interfaces from a JSON sample, optional fields included.

JSON to Swift

Generate Swift Codable structs from JSON, with CodingKeys for snake_case.

Character Counter

Count characters for X, Instagram, meta tags and SMS, including how many texts a message costs.

Sort Alphabetically

Sort any list A to Z, Z to A, by length or in natural number order.