Data Format Conversions

Convert between JSON, XML, YAML, TOML, INI, CSV, TSV, SQL, and more.

Available resources

Start with these resources

This category combines current MuhammadLab pages that match the topic. More lecture guides and interactive tools can be added here as the lab grows.

Browser resource

JSON to CSV Converter

Convert JSON files to CSV format.

json to csvjson to csv converterconvert json to csvjson csvonline json converter
Browser resource

CSV to JSON Converter

Convert CSV files to JSON format.

csv to jsoncsv to json converterconvert csv to jsoncsv jsononline csv converter
Browser resource

XML to JSON Converter

Convert XML files to JSON format.

xml to jsonxml to json converterconvert xml to jsonxml jsononline xml converter
Browser resource

JavaScript to TypeScript Converter

Start migrating JavaScript to TypeScript: JSDoc becomes annotations, class fields are declared and require becomes import.

js to tsjs to ts converterconvert js to tsjs tsonline js converter
Browser resource

TypeScript to JavaScript Converter

Convert TypeScript or TSX to JavaScript with the official compiler, keeping your formatting and comments.

ts to jsts to js converterconvert ts to jsts jsonline ts converter
Browser resource

JSON to XML Converter

Convert JSON files to XML format.

json to xmljson to xml converterconvert json to xmljson xmlonline json converter
Browser resource

JSON to YAML Converter

Convert JSON files to YAML format.

json to yamljson to yaml converterconvert json to yamljson yamlonline json converter
Browser resource

JSON to TOML Converter

Convert JSON files to TOML format.

json to tomljson to toml converterconvert json to tomljson tomlonline json converter
Browser resource

JSON to INI Converter

Convert JSON files to INI format.

json to inijson to ini converterconvert json to inijson inionline json converter
Browser resource

JSON to TSV Converter

Convert JSON files to TSV format.

json to tsvjson to tsv converterconvert json to tsvjson tsvonline json converter
Browser resource

JSON to NDJSON Converter

Convert JSON files to NDJSON format.

json to ndjsonjson to ndjson converterconvert json to ndjsonjson ndjsononline json converter
Browser resource

JSON to SQL Converter

Convert JSON files to SQL format.

json to sqljson to sql converterconvert json to sqljson sqlonline json converter
Browser resource

JSON to TXT Converter

Convert JSON files to TXT format.

json to txtjson to txt converterconvert json to txtjson txtonline json converter
Browser resource

JSON to HTML Converter

Convert JSON files to HTML format.

json to htmljson to html converterconvert json to htmljson htmlonline json converter
Browser resource

XML to YAML Converter

Convert XML files to YAML format.

xml to yamlxml to yaml converterconvert xml to yamlxml yamlonline xml converter
Browser resource

XML to TOML Converter

Convert XML files to TOML format.

xml to tomlxml to toml converterconvert xml to tomlxml tomlonline xml converter
Browser resource

XML to INI Converter

Convert XML files to INI format.

xml to inixml to ini converterconvert xml to inixml inionline xml converter
Browser resource

XML to CSV Converter

Convert XML files to CSV format.

xml to csvxml to csv converterconvert xml to csvxml csvonline xml converter
Browser resource

XML to TSV Converter

Convert XML files to TSV format.

xml to tsvxml to tsv converterconvert xml to tsvxml tsvonline xml converter
Browser resource

XML to NDJSON Converter

Convert XML files to NDJSON format.

xml to ndjsonxml to ndjson converterconvert xml to ndjsonxml ndjsononline xml converter
Browser resource

XML to SQL Converter

Convert XML files to SQL format.

xml to sqlxml to sql converterconvert xml to sqlxml sqlonline xml converter
Browser resource

XML to TXT Converter

Convert XML files to TXT format.

xml to txtxml to txt converterconvert xml to txtxml txtonline xml converter
Browser resource

XML to HTML Converter

Convert XML files to HTML format.

xml to htmlxml to html converterconvert xml to htmlxml htmlonline xml converter
Browser resource

YAML to JSON Converter

Convert YAML files to JSON format.

yaml to jsonyaml to json converterconvert yaml to jsonyaml jsononline yaml converter
Browser resource

YAML to XML Converter

Convert YAML files to XML format.

yaml to xmlyaml to xml converterconvert yaml to xmlyaml xmlonline yaml converter
Browser resource

YAML to TOML Converter

Convert YAML files to TOML format.

yaml to tomlyaml to toml converterconvert yaml to tomlyaml tomlonline yaml converter
Browser resource

YAML to INI Converter

Convert YAML files to INI format.

yaml to iniyaml to ini converterconvert yaml to iniyaml inionline yaml converter
Browser resource

YAML to CSV Converter

Convert YAML files to CSV format.

yaml to csvyaml to csv converterconvert yaml to csvyaml csvonline yaml converter
Browser resource

YAML to TSV Converter

Convert YAML files to TSV format.

yaml to tsvyaml to tsv converterconvert yaml to tsvyaml tsvonline yaml converter
Browser resource

YAML to NDJSON Converter

Convert YAML files to NDJSON format.

yaml to ndjsonyaml to ndjson converterconvert yaml to ndjsonyaml ndjsononline yaml converter
Browser resource

YAML to SQL Converter

Convert YAML files to SQL format.

yaml to sqlyaml to sql converterconvert yaml to sqlyaml sqlonline yaml converter
Browser resource

YAML to TXT Converter

Convert YAML files to TXT format.

yaml to txtyaml to txt converterconvert yaml to txtyaml txtonline yaml converter
Browser resource

YAML to HTML Converter

Convert YAML files to HTML format.

yaml to htmlyaml to html converterconvert yaml to htmlyaml htmlonline yaml converter
Browser resource

TOML to JSON Converter

Convert TOML files to JSON format.

toml to jsontoml to json converterconvert toml to jsontoml jsononline toml converter
Browser resource

TOML to XML Converter

Convert TOML files to XML format.

toml to xmltoml to xml converterconvert toml to xmltoml xmlonline toml converter
Browser resource

TOML to YAML Converter

Convert TOML files to YAML format.

toml to yamltoml to yaml converterconvert toml to yamltoml yamlonline toml converter
Browser resource

TOML to INI Converter

Convert TOML files to INI format.

toml to initoml to ini converterconvert toml to initoml inionline toml converter
Browser resource

TOML to CSV Converter

Convert TOML files to CSV format.

toml to csvtoml to csv converterconvert toml to csvtoml csvonline toml converter
Browser resource

TOML to TSV Converter

Convert TOML files to TSV format.

toml to tsvtoml to tsv converterconvert toml to tsvtoml tsvonline toml converter
Browser resource

TOML to NDJSON Converter

Convert TOML files to NDJSON format.

toml to ndjsontoml to ndjson converterconvert toml to ndjsontoml ndjsononline toml converter
Browser resource

TOML to SQL Converter

Convert TOML files to SQL format.

toml to sqltoml to sql converterconvert toml to sqltoml sqlonline toml converter
Browser resource

TOML to TXT Converter

Convert TOML files to TXT format.

toml to txttoml to txt converterconvert toml to txttoml txtonline toml converter
Browser resource

TOML to HTML Converter

Convert TOML files to HTML format.

toml to htmltoml to html converterconvert toml to htmltoml htmlonline toml converter
Browser resource

INI to JSON Converter

Convert INI files to JSON format.

ini to jsonini to json converterconvert ini to jsonini jsononline ini converter
Browser resource

INI to XML Converter

Convert INI files to XML format.

ini to xmlini to xml converterconvert ini to xmlini xmlonline ini converter
Browser resource

INI to YAML Converter

Convert INI files to YAML format.

ini to yamlini to yaml converterconvert ini to yamlini yamlonline ini converter
Browser resource

INI to TOML Converter

Convert INI files to TOML format.

ini to tomlini to toml converterconvert ini to tomlini tomlonline ini converter
Browser resource

INI to CSV Converter

Convert INI files to CSV format.

ini to csvini to csv converterconvert ini to csvini csvonline ini converter
Browser resource

INI to TSV Converter

Convert INI files to TSV format.

ini to tsvini to tsv converterconvert ini to tsvini tsvonline ini converter
Browser resource

INI to NDJSON Converter

Convert INI files to NDJSON format.

ini to ndjsonini to ndjson converterconvert ini to ndjsonini ndjsononline ini converter
Browser resource

INI to SQL Converter

Convert INI files to SQL format.

ini to sqlini to sql converterconvert ini to sqlini sqlonline ini converter
Browser resource

INI to TXT Converter

Convert INI files to TXT format.

ini to txtini to txt converterconvert ini to txtini txtonline ini converter
Browser resource

INI to HTML Converter

Convert INI files to HTML format.

ini to htmlini to html converterconvert ini to htmlini htmlonline ini converter
Browser resource

CSV to XML Converter

Convert CSV files to XML format.

csv to xmlcsv to xml converterconvert csv to xmlcsv xmlonline csv converter
Browser resource

CSV to YAML Converter

Convert CSV files to YAML format.

csv to yamlcsv to yaml converterconvert csv to yamlcsv yamlonline csv converter
Browser resource

CSV to TOML Converter

Convert CSV files to TOML format.

csv to tomlcsv to toml converterconvert csv to tomlcsv tomlonline csv converter
Browser resource

CSV to INI Converter

Convert CSV files to INI format.

csv to inicsv to ini converterconvert csv to inicsv inionline csv converter
Browser resource

CSV to TSV Converter

Convert CSV files to TSV format.

csv to tsvcsv to tsv converterconvert csv to tsvcsv tsvonline csv converter
Browser resource

CSV to NDJSON Converter

Convert CSV files to NDJSON format.

csv to ndjsoncsv to ndjson converterconvert csv to ndjsoncsv ndjsononline csv converter
Browser resource

CSV to SQL Converter

Convert CSV files to SQL format.

csv to sqlcsv to sql converterconvert csv to sqlcsv sqlonline csv converter
Browser resource

CSV to TXT Converter

Convert CSV files to TXT format.

csv to txtcsv to txt converterconvert csv to txtcsv txtonline csv converter
Browser resource

CSV to HTML Converter

Convert CSV files to HTML format.

csv to htmlcsv to html converterconvert csv to htmlcsv htmlonline csv converter
Browser resource

TSV to JSON Converter

Convert TSV files to JSON format.

tsv to jsontsv to json converterconvert tsv to jsontsv jsononline tsv converter
Browser resource

TSV to XML Converter

Convert TSV files to XML format.

tsv to xmltsv to xml converterconvert tsv to xmltsv xmlonline tsv converter
Browser resource

TSV to YAML Converter

Convert TSV files to YAML format.

tsv to yamltsv to yaml converterconvert tsv to yamltsv yamlonline tsv converter
Browser resource

TSV to TOML Converter

Convert TSV files to TOML format.

tsv to tomltsv to toml converterconvert tsv to tomltsv tomlonline tsv converter
Browser resource

TSV to INI Converter

Convert TSV files to INI format.

tsv to initsv to ini converterconvert tsv to initsv inionline tsv converter
Browser resource

TSV to CSV Converter

Convert TSV files to CSV format.

tsv to csvtsv to csv converterconvert tsv to csvtsv csvonline tsv converter
Browser resource

TSV to NDJSON Converter

Convert TSV files to NDJSON format.

tsv to ndjsontsv to ndjson converterconvert tsv to ndjsontsv ndjsononline tsv converter
Browser resource

TSV to SQL Converter

Convert TSV files to SQL format.

tsv to sqltsv to sql converterconvert tsv to sqltsv sqlonline tsv converter
Browser resource

TSV to TXT Converter

Convert TSV files to TXT format.

tsv to txttsv to txt converterconvert tsv to txttsv txtonline tsv converter
Browser resource

TSV to HTML Converter

Convert TSV files to HTML format.

tsv to htmltsv to html converterconvert tsv to htmltsv htmlonline tsv converter
Browser resource

NDJSON to JSON Converter

Convert NDJSON files to JSON format.

ndjson to jsonndjson to json converterconvert ndjson to jsonndjson jsononline ndjson converter
Browser resource

NDJSON to XML Converter

Convert NDJSON files to XML format.

ndjson to xmlndjson to xml converterconvert ndjson to xmlndjson xmlonline ndjson converter
Browser resource

NDJSON to YAML Converter

Convert NDJSON files to YAML format.

ndjson to yamlndjson to yaml converterconvert ndjson to yamlndjson yamlonline ndjson converter
Browser resource

NDJSON to TOML Converter

Convert NDJSON files to TOML format.

ndjson to tomlndjson to toml converterconvert ndjson to tomlndjson tomlonline ndjson converter
Browser resource

NDJSON to INI Converter

Convert NDJSON files to INI format.

ndjson to inindjson to ini converterconvert ndjson to inindjson inionline ndjson converter
Browser resource

NDJSON to CSV Converter

Convert NDJSON files to CSV format.

ndjson to csvndjson to csv converterconvert ndjson to csvndjson csvonline ndjson converter
Browser resource

NDJSON to TSV Converter

Convert NDJSON files to TSV format.

ndjson to tsvndjson to tsv converterconvert ndjson to tsvndjson tsvonline ndjson converter
Browser resource

NDJSON to SQL Converter

Convert NDJSON files to SQL format.

ndjson to sqlndjson to sql converterconvert ndjson to sqlndjson sqlonline ndjson converter
Browser resource

NDJSON to TXT Converter

Convert NDJSON files to TXT format.

ndjson to txtndjson to txt converterconvert ndjson to txtndjson txtonline ndjson converter
Browser resource

NDJSON to HTML Converter

Convert NDJSON files to HTML format.

ndjson to htmlndjson to html converterconvert ndjson to htmlndjson htmlonline ndjson converter
Browser resource

SQL to JSON Converter

Convert SQL files to JSON format.

sql to jsonsql to json converterconvert sql to jsonsql jsononline sql converter
Browser resource

SQL to XML Converter

Convert SQL files to XML format.

sql to xmlsql to xml converterconvert sql to xmlsql xmlonline sql converter
Browser resource

SQL to YAML Converter

Convert SQL files to YAML format.

sql to yamlsql to yaml converterconvert sql to yamlsql yamlonline sql converter
Browser resource

SQL to TOML Converter

Convert SQL files to TOML format.

sql to tomlsql to toml converterconvert sql to tomlsql tomlonline sql converter
Browser resource

SQL to INI Converter

Convert SQL files to INI format.

sql to inisql to ini converterconvert sql to inisql inionline sql converter
Browser resource

SQL to CSV Converter

Convert SQL files to CSV format.

sql to csvsql to csv converterconvert sql to csvsql csvonline sql converter
Browser resource

SQL to TSV Converter

Convert SQL files to TSV format.

sql to tsvsql to tsv converterconvert sql to tsvsql tsvonline sql converter
Browser resource

SQL to NDJSON Converter

Convert SQL files to NDJSON format.

sql to ndjsonsql to ndjson converterconvert sql to ndjsonsql ndjsononline sql converter
Browser resource

SQL to TXT Converter

Convert SQL files to TXT format.

sql to txtsql to txt converterconvert sql to txtsql txtonline sql converter
Browser resource

SQL to HTML Converter

Convert SQL files to HTML format.

sql to htmlsql to html converterconvert sql to htmlsql htmlonline sql converter
Browser resource

TXT to JSON Converter

Convert TXT files to JSON format.

txt to jsontxt to json converterconvert txt to jsontxt jsononline txt converter
Browser resource

TXT to XML Converter

Convert TXT files to XML format.

txt to xmltxt to xml converterconvert txt to xmltxt xmlonline txt converter
Browser resource

TXT to YAML Converter

Convert TXT files to YAML format.

txt to yamltxt to yaml converterconvert txt to yamltxt yamlonline txt converter
Browser resource

TXT to TOML Converter

Convert TXT files to TOML format.

txt to tomltxt to toml converterconvert txt to tomltxt tomlonline txt converter
Browser resource

TXT to INI Converter

Convert TXT files to INI format.

txt to initxt to ini converterconvert txt to initxt inionline txt converter
Browser resource

TXT to CSV Converter

Convert TXT files to CSV format.

txt to csvtxt to csv converterconvert txt to csvtxt csvonline txt converter
Browser resource

TXT to TSV Converter

Convert TXT files to TSV format.

txt to tsvtxt to tsv converterconvert txt to tsvtxt tsvonline txt converter
Browser resource

TXT to NDJSON Converter

Convert TXT files to NDJSON format.

txt to ndjsontxt to ndjson converterconvert txt to ndjsontxt ndjsononline txt converter
Browser resource

TXT to SQL Converter

Convert TXT files to SQL format.

txt to sqltxt to sql converterconvert txt to sqltxt sqlonline txt converter
Browser resource

TXT to HTML Converter

Convert TXT files to HTML format.

txt to htmltxt to html converterconvert txt to htmltxt htmlonline txt converter
Browser resource

HTML to JSON Converter

Convert HTML files to JSON format.

html to jsonhtml to json converterconvert html to jsonhtml jsononline html converter
Browser resource

HTML to XML Converter

Convert HTML files to XML format.

html to xmlhtml to xml converterconvert html to xmlhtml xmlonline html converter
Browser resource

HTML to YAML Converter

Convert HTML files to YAML format.

html to yamlhtml to yaml converterconvert html to yamlhtml yamlonline html converter
Browser resource

HTML to TOML Converter

Convert HTML files to TOML format.

html to tomlhtml to toml converterconvert html to tomlhtml tomlonline html converter
Browser resource

HTML to INI Converter

Convert HTML files to INI format.

html to inihtml to ini converterconvert html to inihtml inionline html converter
Browser resource

HTML to CSV Converter

Convert HTML files to CSV format.

html to csvhtml to csv converterconvert html to csvhtml csvonline html converter
Browser resource

HTML to TSV Converter

Convert HTML files to TSV format.

html to tsvhtml to tsv converterconvert html to tsvhtml tsvonline html converter
Browser resource

HTML to NDJSON Converter

Convert HTML files to NDJSON format.

html to ndjsonhtml to ndjson converterconvert html to ndjsonhtml ndjsononline html converter
Browser resource

HTML to SQL Converter

Convert HTML files to SQL format.

html to sqlhtml to sql converterconvert html to sqlhtml sqlonline html converter
Browser resource

HTML to TXT Converter

Convert HTML files to TXT format.

html to txthtml to txt converterconvert html to txthtml txtonline html converter
Browser resource

JSON to MD Converter

Convert JSON files to MD format.

json to mdjson to md converterconvert json to mdjson mdonline json converter
Browser resource

CSV to MD Converter

Convert CSV files to MD format.

csv to mdcsv to md converterconvert csv to mdcsv mdonline csv converter
Browser resource

JSON to JavaScript Object Converter

Turn JSON into a JavaScript object literal with unquoted keys, your quote style and an export wrapper.

json to jsjson to js converterconvert json to jsjson jsonline json converter
Browser resource

JavaScript Object to JSON Converter

Convert JavaScript object and array literals to strict, valid JSON without running any code.

js to jsonjs to json converterconvert js to jsonjs jsononline js converter
Browser resource

JSON to TypeScript Interface Generator

Generate TypeScript interfaces or type aliases from sample JSON, with nested types and optional fields.

json to tsjson to ts converterconvert json to tsjson tsonline json converter
Browser resource

Jupyter Notebook to Python Converter

Convert Jupyter notebooks (.ipynb) to Python scripts, with # %% cells, Markdown as comments and magics handled.

ipynb to pyipynb to py converterconvert ipynb to pyipynb pyonline ipynb converter
Browser resource

LOG to JSON Converter

Convert LOG files to JSON format.

log to jsonlog to json converterconvert log to jsonlog jsononline log converter
Browser resource

LOG to CSV Converter

Convert LOG files to CSV format.

log to csvlog to csv converterconvert log to csvlog csvonline log converter
Browser resource

LOG to TXT Converter

Convert LOG files to TXT format.

log to txtlog to txt converterconvert log to txtlog txtonline log converter
Browser resource

LOG to XML Converter

Convert LOG files to XML format.

log to xmllog to xml converterconvert log to xmllog xmlonline log converter
Browser resource

LOG to HTML Converter

Convert LOG files to HTML format.

log to htmllog to html converterconvert log to htmllog htmlonline log converter
Browser resource

XML to MD Converter

Convert XML files to MD format.

xml to mdxml to md converterconvert xml to mdxml mdonline xml converter
Browser resource

YAML to MD Converter

Convert YAML files to MD format.

yaml to mdyaml to md converterconvert yaml to mdyaml mdonline yaml converter
Browser resource

TSV to MD Converter

Convert TSV files to MD format.

tsv to mdtsv to md converterconvert tsv to mdtsv mdonline tsv converter
Browser resource

MD to JSON Converter

Convert MD files to JSON format.

md to jsonmd to json converterconvert md to jsonmd jsononline md converter
Browser resource

JSON to Python Converter

Convert JSON to a Python dict literal, or generate dataclasses, TypedDicts or Pydantic models from it.

json to pyjson to py converterconvert json to pyjson pyonline json converter
Browser resource

Python Dict to JSON Converter

Convert Python dict, list, tuple and set literals to valid JSON with a safe parser.

py to jsonpy to json converterconvert py to jsonpy jsononline py converter
Browser resource

MD to XML Converter

Convert MD files to XML format.

md to xmlmd to xml converterconvert md to xmlmd xmlonline md converter
Browser resource

MD to YAML Converter

Convert MD files to YAML format.

md to yamlmd to yaml converterconvert md to yamlmd yamlonline md converter
Browser resource

MD to CSV Converter

Convert MD files to CSV format.

md to csvmd to csv converterconvert md to csvmd csvonline md converter
Browser resource

Python to TXT Converter

Convert Python source code to a clean .txt file, with optional comment removal, line numbers and whitespace clean-up.

py to txtpython to textconvert py to txtremove comments from python codepython code to plain text
Browser resource

JavaScript to TXT Converter

Convert JavaScript source code to a clean .txt file, with optional comment removal, line numbers and whitespace clean-up.

js to txtjavascript to textconvert js to txtremove comments from javascript codejavascript code to plain text
Browser resource

TypeScript to TXT Converter

Convert TypeScript source code to a clean .txt file, with optional comment removal, line numbers and whitespace clean-up.

ts to txttypescript to textconvert ts to txtremove comments from typescript codetypescript code to plain text
Browser resource

C to TXT Converter

Convert C source code to a clean .txt file, with optional comment removal, line numbers and whitespace clean-up.

c to txtc to textconvert c to txtremove comments from c codec code to plain text
Browser resource

C++ to TXT Converter

Convert C++ source code to a clean .txt file, with optional comment removal, line numbers and whitespace clean-up.

cpp to txtc++ to textconvert cpp to txtremove comments from c++ codec++ code to plain text
Browser resource

Java to TXT Converter

Convert Java source code to a clean .txt file, with optional comment removal, line numbers and whitespace clean-up.

java to txtjava to textconvert java to txtremove comments from java codejava code to plain text
Browser resource

Shell to TXT Converter

Convert Shell source code to a clean .txt file, with optional comment removal, line numbers and whitespace clean-up.

sh to txtshell to textconvert sh to txtremove comments from shell codeshell code to plain text
Browser resource

reStructuredText to HTML Converter

Convert reStructuredText (.rst) documents and READMEs to clean HTML, with a live preview.

rst to htmlrst to html converterconvert rst to htmlrst htmlonline rst converter
Browser resource

reStructuredText to Markdown Converter

Convert reStructuredText to GitHub-flavoured Markdown: headings, code fences, tables, notes and footnotes.

rst to mdrst to md converterconvert rst to mdrst mdonline rst converter
Browser resource

PowerShell to TXT Converter

Convert PowerShell source code to a clean .txt file, with optional comment removal, line numbers and whitespace clean-up.

ps1 to txtpowershell to textconvert ps1 to txtremove comments from powershell codepowershell code to plain text
Browser resource

reStructuredText to Plain Text Converter

Convert reStructuredText to readable plain text without markup, with optional line wrapping.

rst to txtrst to txt converterconvert rst to txtrst txtonline rst converter