SQL Result Converter & DDL Diff - Convert to Markdown/CSV

Convert SQL query results, CSV, TSV or INSERT statements into Markdown tables, CSV, JSON or HTML, and diff two CREATE TABLE definitions. All local.

Input data

Paste CSV with headers, TSV copied from a spreadsheet, or an INSERT INTO ... VALUES statement

2 rows, 3 columns

Output

| id | name | email |
| --- | --- | --- |
| 1 | Alice | alice@example.com |
| 2 | Bob | bob@example.com |

Parsing and diffing run locally in your browser. SQL and data are never uploaded.

About This Tool

Turning query results into Markdown tables by hand is tedious. This tool accepts CSV, TSV, pasted spreadsheet text and INSERT statements, then outputs Markdown, CSV, JSON or HTML.

A second tab diffs two CREATE TABLE statements and lists added, removed and changed columns for migration review. All data stays in your browser.

Key Features

Flexible input

CSV, TSV from spreadsheets and INSERT INTO statements are recognized.

Four outputs

Markdown tables, CSV, JSON and HTML table.

DDL diff

Compare column names, types and defaults, marking additions, removals and changes.

Local processing

SQL and business data are never uploaded.

When to Use It

Write documentation

Convert query results into a Markdown table for docs or a PR description.

Data handoff

Turn pasted tables into CSV or JSON for another system.

Migration review

Diff schema before and after to confirm the changes match the plan.

How to Use It

  1. 1Paste data or an INSERT statement in the result tab.
  2. 2Choose an output format and copy the result.
  3. 3Switch to the DDL tab and paste two CREATE TABLE statements.
  4. 4Review the column diff and adjust the migration script.

Frequently Asked Questions

Are multiple INSERT statements supported?

A single INSERT with multiple VALUES tuples is supported; convert separate statements one at a time.

Does the DDL diff check indexes?

It currently focuses on column names, types and attributes; indexes and constraints are out of scope.

Is my data uploaded?

No, parsing and diffing run locally.

CodeSwordsman

100+ technical tools with browser-local processing — your data never leaves your device. Official Microsoft Store desktop apps: free, ad-free, offline.

Completely Free

© 2026 CodeSwordsman All Rights Reserved

Service Terms | Privacy Policy | Help | Version Updates | About Us

This website uses cookies to ensure you get the best experience on our website. Privacy Policy.