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
- Drop a file into the box, or paste text into the input.
- Check the input format and pick the output format.
- 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
- Image to PDFCombine JPG, PNG, WebP or GIF images into one PDF, in the order you choose.
- PDF to ImagesTurn every PDF page into a PNG or JPG image, downloaded as a ZIP.
- Markdown to HTMLTurn Markdown into clean HTML, or HTML back into Markdown, with a live preview.
- Video ConverterConvert MOV, MP4, WebM and MKV to MP4, WebM or animated GIF, with resolution and quality options.
- Audio ConverterConvert MP3, WAV, M4A, OGG, Opus and FLAC, or extract the audio from a video.
- Image ConverterConvert images between JPG, PNG, WebP, AVIF, BMP and ICO, one file or a whole batch.