All tools
Free · Private · No upload

Convert Markdown to SQL Online

Convert a Markdown table to SQL online, free and private: your data never leaves your browser. Paste a Markdown table or drop a .md file, edit in a real spreadsheet grid, then export INSERT statements for MySQL, PostgreSQL, SQLite or SQL Server.

Drop a CSV or Excel file here

CSV · XLSX · XLS · XLSM · XLSB

or paste your data below

How to convert a Markdown table to SQL

Three steps from Markdown to INSERT statements.

1. Paste Markdown

Paste a GitHub-style Markdown table, or drop a .md file.

2. Edit in the grid

Fix values, reorder columns, add rows. The output updates in real time as you edit the spreadsheet.

3. Copy the SQL

Pick a dialect and table name, then copy or download the INSERT statements. Your data never left your browser.

Need this conversion in your own app?

The file parsing behind this page is powered by TabularJS: a zero-dependency JavaScript library that converts spreadsheet files to JSON in Node.js and the browser. 16+ formats, formulas, styles and merged cells included.

npm install tabularjs Zero dependencies

Frequently asked questions

Is this Markdown to SQL converter free?

Yes. No account, no sign-up, no watermark. Open the page and start converting.

Is my data private?

Yes. Everything runs in your browser. Your Markdown is read and processed on your device. Nothing is uploaded, nothing is logged.

Which Markdown tables are supported?

GitHub-style pipe tables. The alignment separator row is detected and removed, and escaped pipes inside cells are handled.

Which SQL dialects are supported?

MySQL (backtick quoting), PostgreSQL, SQLite (double-quote quoting) and SQL Server (bracket quoting). Column types are inferred as INTEGER, REAL or TEXT.

How are empty values handled?

Empty cells and null values are exported as NULL in the SQL output.

Can I embed this converter in my own app?

Yes. The engine that powers this page is the TabularJS JavaScript library. You can embed it in React, Vue, Angular or plain JavaScript.