What happens when you convert CSV to HTML
- The CSV is opened by LibreOffice, the open-source office suite, on our conversion server and saved as a single HTML page.
- Every sheet appears in the page as its own table, one after another, with a list of the sheets at the top. Cells show their values as displayed, with their number formats, and formulas become their results.
- Charts and pictures placed on the sheets are left out, so the HTML holds the data only. Cell colours, bold text and borders are kept where HTML can show them.
- This conversion runs on our server: the file is uploaded, converted, and deleted together with the result as soon as the result has been sent back to you. Nothing is kept. Files up to 25 MB are accepted.
How to convert CSV to HTML online
- Press "Choose CSV files" and select one or more files, or drag them onto the box. Files up to 25 MB each can be converted.
- There are no settings to choose: the converter keeps everything the target format can hold.
- Press "Convert to HTML". The file is uploaded to our conversion server, converted in a few seconds, and deleted together with the result as soon as the result is sent back.
- Save each HTML with its download button. Our server has already deleted both your CSV and the HTML by then.
Why convert CSV to HTML?
CSV files usually come from data exports, imports into databases and exchanging tables between programs. People convert them to HTML because HTML opens in any browser and keeps headings, lists, tables and links.
In short, CSV is good at what it was made for, and HTML is the more practical choice when the file has to open, upload or print somewhere else. CSV opens in every spreadsheet program and any text editor, while HTML opens in every web browser.
How to convert CSV to HTML on Windows, Mac, iPhone and Android
On Windows
Open this page in Chrome, Edge or Firefox, drag your CSV files in from File Explorer, and press Convert. Each HTML is saved to your Downloads folder.
On a Mac
Safari, Chrome and Firefox all work. Drag the CSV files from Finder onto the drop zone and the HTML files land in Downloads.
On iPhone and iPad
Open the page in Safari and tap Choose CSV files. You can pick from Photos or from the Files app. The converted HTML appears in Files, in the Downloads folder.
On Android
Open the page in Chrome, tap Choose CSV files and pick them from Files or your gallery. The HTML is saved to the Download folder, where any file manager can find it.
Best settings for CSV to HTML
There are no settings: every sheet is included, in order, each under its own heading.
For one table only, delete the other sheets before converting, or convert to CSV, which keeps just the first sheet.
CSV vs HTML: the differences
| CSV | HTML | |
|---|---|---|
| Full name | Comma-separated values | HyperText Markup Language |
| Type | spreadsheet | document |
| Created by | no single author; standardised in RFC 4180 | Tim Berners-Lee |
| First released | 1972 | 1993 |
| Compression | Lossless | Lossless |
| What it holds | one table of plain text values, one row per line | text with tags for headings, lists, links, tables and images |
| In a browser | opens in every spreadsheet program and any text editor | opens in every web browser |
| Common uses | data exports, imports into databases and exchanging tables between programs | web pages, emails and documents meant to be read in a browser |
| MIME type | text/csv | text/html |
About CSV and HTML files
What is a CSV file?
A CSV file holds a single table as plain text, with commas between values. It has no formatting, formulas or multiple sheets, which is exactly why every program can read it.
What is an HTML file?
HTML is the language of web pages. A converted document saved as HTML keeps its headings, lists, tables and links and opens in any browser.
CSV to HTML not working? Common problems
- "Files up to 25 MB can be converted." Server conversions have a size limit. Compress the images inside the file, or split it, and try again.
- "The conversion took too long and was stopped." Very long or complex files can pass the 90 second limit. Split the file and convert the parts.
- "This file is not really in CSV format." The converter checks every file before it runs anything, so a file of another format renamed to .csv is refused. Choose the page for its real format.
Convert CSV to HTML from the command line
LibreOffice does the same on your own computer, without opening a window:
soffice --headless --convert-to html input.csvConverting on your own computer keeps the file entirely local, which is worth it for very large or very sensitive documents. For everything else, the converter on this page does it without installing anything.
CSV to HTML converter FAQ
Will I lose quality converting CSV to HTML?
Every cell value is kept as displayed; formulas become their results, and charts and pictures are dropped.
Why is the HTML a different size from the CSV?
HTML stores every cell as text with tags around it, so it is often larger than the CSV for big sheets and smaller for short ones.
Are my CSV files uploaded?
Yes, for this conversion. A faithful CSV to HTML conversion needs LibreOffice, the open-source office suite, which cannot run in a browser. The file travels over an encrypted connection, is converted in a private temporary folder, and is deleted together with the HTML as soon as the result has been sent back to you. We do not keep, read or share it.
Can I convert several CSV files to HTML at once?
Yes. Select or drop as many files as you like; they are converted one after another and each gets its own download button.
How do I open an HTML file?
HTML opens in every web browser. HTML is common for web pages, emails and documents meant to be read in a browser.
Is this CSV to HTML converter free?
Yes. There is no sign-up and no watermark. Because this conversion uses our server, there is a fair-use limit of 25 MB per file and a number of files per hour, which stops the service being overloaded.
Can I convert CSV to HTML on my phone?
Yes. It works in Safari on iPhone and iPad and in Chrome on Android. The conversion happens on our server, so it is as fast on a phone as on a computer; the HTML is saved to your Downloads folder.