Free to use, no account

Markdown-tabellgenerator

Lag en Markdown-tabell i et lite redigerbart rutenett. Importer kommaseparert, semikolonseparert eller tabulatorseparert tekst, velg kolonnejustering, og kopier ren Markdown der loddrette streker er forsvarlig escapet.

CSV-felt i anførselstegn støttes. Import erstatter det gjeldende rutenettet; opptil 100 rader, 20 kolonner og 250,000 tegn.

Den første raden blir Markdown-overskriften. Legg til minst én rad og én kolonne.

Redigerbare tabellceller

Oppretter en standard rørtabell med overskrift og skilletegnrad. Linjeskift i celler blir til <br>; loddrette streker og omvendte skråstreker i Markdown escapes.

All behandling skjer i denne fanen. Ingen opplasting, konto, API, automatisk lagring eller serverbehandling.

Hvordan lager jeg en Markdown-tabell?

Skriv inn en overskriftsrad og datarader, velg justering for hver kolonne, og kopier deretter den genererte Markdown-teksten. Loddrette streker escapes, og ujevne importerte rader fylles ut.

Veiledning

Slik bruker du markdown-table-generator

The Markdown Table Generator turns a small editable grid, or pasted CSV and TSV text, into a pipe table ready for a README, wiki or note. You choose left, center or right alignment for each column. Pipes, backslashes and line breaks inside cells are escaped for you. Nothing is uploaded.

Slik gjør du

  1. Type straight into the grid, or paste CSV, semicolon or tab-separated text into the import box and press Import data. Detect automatically reads the separator from the first line.
  2. Use the add and remove buttons to change the size, then pick Left, Center or Right above each column. The first row always becomes the table header.
  3. Press Update Markdown, check the preview, then press Copy Markdown. Clear table empties the grid back to two rows and two columns.

Eksempler

The built-in example with a centered column

Du skriver inn
rader
Task; Status; Draft; Ready
justering
left; center
Du får
markdown
| Task | Status | | :--- | :---: | | Draft | Ready |

The first row is the header. The second line is the separator row, where :--- means left and :---: means center. A right-aligned column would use ---: instead.

Kjørt med verktøyets egen kode.

Pipes, backslashes and line breaks inside cells

Du skriver inn
rader
a|b; c; x y; back\slash
justering
right
Du får
markdown
| a\|b | c | | ---: | :--- | | x<br>y | back\\slash |

The pipe in a|b would split the cell, so it becomes \|. The line break becomes <br> and the single backslash is doubled. Only one alignment was given, so the second column defaults to left.

Kjørt med verktøyets egen kode.

Importing semicolon text with a quoted comma

Du skriver inn
innlimt tekst
name;note Anna;"likes tea, not coffee"
skilletegn
auto
Du får
rutenett
name; note; Anna; likes tea, not coffee

The first line has one semicolon and no commas, so semicolon is chosen. A quoted field keeps its comma. When some rows are shorter than the widest row, the missing cells are filled with empty text.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Build a comparison table for a GitHub README without counting pipes by hand.
  • Turn a few rows copied from a spreadsheet into Markdown for a wiki page or a chat message.
  • Escape cell text that contains pipes, such as command-line options, so the table does not break.

Begrensninger

  • The table can hold at most 100 rows, 20 columns and 250,000 characters in total, and each cell input stops at 10,000 characters.
  • The output is a standard pipe table with a header row. It does not merge cells, support lists inside cells, or pad columns so the raw text lines up.
  • Import replaces the whole grid, and nothing is saved between visits. Line breaks inside a cell can only arrive through a quoted CSV field, because the grid cells are single-line boxes.

Tips

  • Check the preview below the grid before copying, because some Markdown viewers do not understand tables at all.
  • If a spreadsheet gives you tabs, copy the cells and paste them in. Detect automatically picks the separator that appears most on the first line.
  • Keep a header row even for plain data, because the format needs one and the first grid row always takes that role.

Vanlige spørsmål

How do I make a Markdown table with this tool?

Fill in the grid or import CSV, choose an alignment for each column, press Update Markdown and then Copy Markdown. The first row becomes the header, and the tool adds the separator row for you.

How are pipes and line breaks handled?

A pipe in a cell is written as \| so it does not split the column. Backslashes are doubled, and any line break is replaced by <br>. These changes keep each row on one line of text.

Can I import CSV or TSV files?

You can paste comma, semicolon or tab-separated text into the import box. There is no file upload button. Quoted fields, including quoted separators and doubled quotes, are read correctly.

What happens if my import has uneven rows?

The grid is as wide as the longest row, and shorter rows are padded with empty cells. A row with fewer values still gets all its columns, so the Markdown table stays rectangular.

Does it work on every Markdown site?

Pipe tables are part of GitHub Flavored Markdown and many other tools, but not of the original Markdown. If a site shows plain pipes, it probably does not support tables, so test a small example first.

Is my table uploaded or saved?

No. Everything is handled inside this browser tab, and the page says imports, edits and the generated text are not sent to a server or saved automatically. Copy the result before you close the tab.

Kilder

Ofte stilte spørsmål

Hvordan lager jeg en Markdown-tabell?

Skriv inn en overskriftsrad og datarader, velg justering for hver kolonne, og kopier deretter den genererte Markdown-teksten. Loddrette streker escapes, og ujevne importerte rader fylles ut.

Lastes tabellen min opp?

Nei. Tabellen behandles i denne nettleserfanen. Import, redigeringer og generert Markdown sendes ikke til en server eller lagres automatisk.

Kan jeg importere CSV eller TSV?

Ja. Lim inn verdier atskilt med komma, semikolon eller tabulator, og importer dem deretter i det redigerbare rutenettet. CSV-felt i anførselstegn og skilletegn i anførselstegn støttes.

Hvordan håndteres loddrette streker og linjeskift?

En loddrett strek i en celle escapes slik at den ikke deler Markdown-tabellen. Omvendte skråstreker escapes også, og linjeskift i celler representeres med <br>.