Text File Converter

Convert between CSV, TSV, JSON, YAML, XML, plain text, Markdown and HTML. For a live Markdown preview, use Markdown to HTML.

or drop it here

.csv .tsv .json .yaml .xml .txt .md .html

How to use the text file converter

  1. Drop a file into the box, or paste text into the input.
  2. Check the input format and pick the output format.
  3. Click Download to save the converted file, or Copy.

Frequently asked questions

Which file types are supported?

Data files: CSV, TSV, JSON, YAML and XML (XML as output, or to plain text). Documents: plain text, Markdown and HTML. CSV, TSV, JSON and YAML convert into each other and into Markdown or HTML tables.

How is CSV turned into JSON?

The first row is used as the column names, and each following row becomes one object. Numbers and true or false values are typed automatically. Quoted cells with commas or line breaks are handled.

What happens to nested JSON when I export CSV?

Each object in the array becomes one row. Nested objects or arrays are written into the cell as JSON text, so no data is lost.

Can I paste text instead of uploading a file?

Yes. Paste into the input box and pick the input format yourself. When you upload a file the format is detected from its extension.

Is my file uploaded anywhere?

No. Files are read with your browser and converted locally. Nothing is sent to a server.

More in Converters