Logo

Data Format Converter

Convert between CSV, TSV, JSON, Markdown, HTML, and SQL table formats instantly

Input Format

Output Format

Input (CSV)

Upload

Output (JSON)

Supported Conversions

From ↓ / To →CSVTSVJSONMarkdownHTMLSQL
CSV
TSV
JSON
Markdown
HTML
SQL

Free Online Data Format Converter — CSV, JSON, Markdown, HTML, SQL & TSV

Working with data across different systems almost always involves switching between formats. A spreadsheet exported from Excel is a CSV file. A REST API returns JSON. A database tool expects SQL INSERT statements. A documentation site wants a Markdown table. Manually re-formatting data between these structures is tedious and error-prone — that's exactly the problem this tool solves.

The OmniWebKit Data Format Converter handles six widely used tabular data formats: CSV (comma-separated), TSV (tab-separated), JSON (array of objects), Markdown tables, HTML tables, and SQL INSERT statements. Conversion is bidirectional — you can convert any format to any other format, in all 30 possible direction combinations. The output updates live as you type or paste input.

Everything runs in your browser. No file is uploaded to any server. Paste your data, choose the input and output formats, and copy or download the result. For CSV files, the tool auto-detects whether the delimiter is a comma, tab, semicolon, or pipe — or you can set it manually.

All Six Formats Explained

CSV (Comma-Separated Values)

CSV is the most universally supported data interchange format. It is what spreadsheet applications (Excel, Google Sheets, LibreOffice Calc) export by default. CSV files contain rows of data where each value is separated by a comma. This tool supports proper RFC 4180 CSV parsing — quoted fields, embedded commas, embedded newlines, and escaped double-quotes all parse correctly. The delimiter auto-detection feature handles files that use semicolons (common in European locales) or tabs instead of commas.

TSV (Tab-Separated Values)

TSV is a simpler alternative to CSV that uses a tab character as the delimiter instead of a comma. Because tab characters almost never appear in actual data, TSV files rarely need quoted fields, making them slightly easier to process programmatically. Databases and spreadsheet tools often support TSV paste and export. This tool handles TSV as a separate format with automatic tab detection.

JSON (JavaScript Object Notation)

JSON is the standard data format for web APIs. The input must be a JSON array of objects, where each object represents a row and the object keys become the column headers. The output JSON uses 2-space indentation for readability. JSON conversion is particularly useful when you want to take a CSV export from a database or spreadsheet and prepare it for use in a JavaScript application or REST API.

Markdown Tables

Markdown table syntax is used in GitHub READMEs, documentation sites (like MkDocs and Docusaurus), note-taking apps (Notion, Obsidian), and static site generators. The converter produces properly aligned Markdown tables where column widths are padded for readability. It also parses existing Markdown tables back to other formats — useful when you want to pull data from a README file into a spreadsheet or database.

HTML Tables

HTML tables are the format used for embedding tabular data in web pages. The converter produces clean, semantic HTML with a <table>, <thead>, <tbody>, <th>, and <td> structure, making it easy to drop into any webpage or CMS. The HTML parser can also read existing HTML table markup and convert it to any other format — helpful when scraping table data from a webpage.

SQL INSERT Statements

The SQL output generates a ready-to-run series of INSERT INTO statements using a table name you specify. Each row in the data becomes one INSERT statement. String values are automatically single-quoted, and single quotes within values are escaped using the SQL standard double-single-quote method, preventing SQL injection in the generated script. This format is useful for migrating data from a spreadsheet into a database.

How to Convert Data Formats

  1. 1

    Choose your input format

    Click the input format button that matches your source data — CSV, TSV, JSON, Markdown, HTML, or SQL. The textarea label updates to show which format is expected.

  2. 2

    Paste your data or upload a file

    Paste your data directly into the input textarea, or click the Upload button and select a file. The tool automatically detects the file format based on the file extension (.csv, .tsv, .json, .md, .html, .sql).

  3. 3

    Select the output format

    Click the output format button for the format you want to convert to. The conversion happens automatically — no Convert button to press.

  4. 4

    Configure options if needed

    For CSV input, choose the delimiter (comma, semicolon, tab, or pipe) if auto-detection doesn't work correctly. For SQL output, enter your target table name.

  5. 5

    Copy or download the result

    Click Copy to copy the output to your clipboard, or Download to save the converted file with the correct extension (.csv, .json, .md, .html, .sql, .tsv).

  6. 6

    Swap formats to reverse the conversion

    Click the ⇆ swap button between the format selectors to flip the input and output formats and use the converted output as new input. This is useful for a multi-step conversion workflow.

Frequently Asked Questions

Is my data sent to any server?+
No. All parsing and conversion runs entirely in your browser using JavaScript. Your data never leaves your device.
How does the CSV delimiter auto-detection work?+
The tool looks at the first line of your CSV and counts occurrences of comma, semicolon, and tab characters. Whichever appears most often is selected as the delimiter. You can override this manually if needed.
What JSON format does the tool expect?+
The input must be a JSON array of objects, where each object represents one row and the keys become column headers. For example: [{"name":"Alice","age":"30"},{"name":"Bob","age":"25"}]. A single object or an array of arrays will not parse correctly.
Can I convert from HTML to CSV?+
Yes. Paste the HTML containing a <table> element into the input, set input format to HTML and output to CSV. The tool extracts the table headers and data rows and produces a clean CSV.
Can I convert Markdown tables back to CSV or JSON?+
Yes. This tool supports bidirectional Markdown table parsing. Paste a Markdown table (with header row and separator row) as input, set input format to Markdown, and select your desired output format.
What does the swap button do?+
The ⇆ swap button flips the input and output formats and loads the current converted output as the new input. This lets you chain conversions — for example, CSV → JSON → Markdown — in a step-by-step workflow.
Does the SQL output prevent SQL injection?+
The generated SQL escapes single quotes in values using the standard SQL double-single-quote escape method. This is safe for use in scripts run by a trusted administrator, but you should not dynamically insert user-provided data into SQL queries in a production application without using parameterised queries.
Can I convert TSV files from Excel?+
Yes. When you copy cells from Excel and paste them, Excel uses tab characters as the delimiter. Set the input format to TSV (or CSV with Tab delimiter) and the tool will parse the pasted cells correctly.
Advertisement
Logo

Your all-in-one digital toolkit with 100+ free online tools. Fast, secure, and always available when you need them.

Secure & Private

All processing happens locally in your browser

Mobile Friendly

Works perfectly on all devices and screen sizes

Always Free

No registration, no limits, completely free to use

100+
Free Tools
50K+
Daily Users
1M+
Tools Used
150+
Countries
© 2026 OmniWebKit. All rights reserved.
Made withfor developers and creators