Monu Tools

Μετατροπέας πίνακα CSV ⇄ Markdown

Μετατρέψτε CSV σε πίνακα Markdown και πίνακες Markdown πίσω σε CSV, και προς τις δύο κατευθύνσεις.

Πώς να χρησιμοποιήσετε το Πίνακας Markdown

  1. 01

    Επικολλήστε το CSV σας, με την πρώτη γραμμή ως κεφαλίδα.

  2. 02

    Επιλέξτε το διαχωριστικό και τη στοίχιση στηλών.

  3. 03

    Αντιγράψτε τον παραγόμενο πίνακα Markdown.

What it does

This tool converts CSV data into a clean Markdown table you can drop into READMEs, issues, wikis and documentation, and converts Markdown tables back into CSV. The first row becomes the header, and you can set the column alignment.

Writing Markdown tables by hand is fiddly: every row needs the right number of pipes and the alignment divider has to line up. Pasting CSV and getting a correct table back removes all of that busywork.

Everything is processed locally in your browser; nothing you paste leaves your device.

The CSV it reads

It reads standard CSV with comma, semicolon or tab delimiters and handles quoted fields, so data exported from a spreadsheet converts without breaking on commas inside values.

The Markdown it produces

The output is a GitHub-Flavored Markdown table: a header row, an alignment divider, then the data rows. It renders in GitHub, GitLab, most wikis and Markdown editors.

Alignment and escaping

Alignment is written into the divider row using colons, :--- for left, :---: for center and ---: for right, which Markdown renderers use to align each column. Pipe characters in the data are escaped and line breaks inside cells are flattened so the table always stays valid.

Συχνές ερωτήσεις

Ποια είναι η μορφή της εξόδου;

Ένας πίνακας Markdown τύπου GitHub: μια γραμμή κεφαλίδας, ένας διαχωριστής στοίχισης, μετά οι γραμμές δεδομένων. Αποδίδεται στο GitHub, στα περισσότερα wiki και σε επεξεργαστές Markdown.

Πώς λειτουργεί η στοίχιση;

Η στοίχιση που επιλέγετε γράφεται στη γραμμή διαχωριστή χρησιμοποιώντας άνω και κάτω τελείες (:--- αριστερά, :---: κέντρο, ---: δεξιά), που οι αποδότες Markdown χρησιμοποιούν για να στοιχίσουν κάθε στήλη.

Τι γίνεται με κόμματα ή κάθετες μέσα στα κελιά;

Τα πεδία CSV σε εισαγωγικά αναλύονται σωστά, και τυχόν χαρακτήρες κάθετης στα δεδομένα διαφεύγονται ώστε ο πίνακας να παραμένει έγκυρος. Οι αλλαγές γραμμής μέσα στα κελιά ισοπεδώνονται σε κενά.

Μεταφορτώνονται τα δεδομένα μου;

Όχι. Ο πίνακας δημιουργείται εξ ολοκλήρου στο πρόγραμμα περιήγησής σας, τίποτα από όσα επικολλάτε δεν φεύγει από τη συσκευή σας.

Πηγές

Ενσωματώστε αυτό το εργαλείο

Προσθέστε αυτό το εργαλείο στον δικό σας ιστότοπο. Αντιγράψτε το παρακάτω απόσπασμα, ενημερώνεται αυτόματα.

<iframe src="https://monu.tools/embed/el/markdown-table-converter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>

Σχετικά εργαλεία