Excel (XLS, XLSX) to HTML Converter
Excel to HTML Converter turns a spreadsheet into table markup you can paste into a web page, a CMS block or an email template. It reads the workbook in your browser with SheetJS, lets you choose a sheet, and builds an escaped HTML table from the cells.
The output is deliberately plain. It contains a table, a header row and body rows, with no colours, merged cells, column widths or formulas. That makes it easy to drop into an existing design and style with your own CSS.
Nothing is uploaded to a server. The workbook stays on your device, which is useful for internal data that you do not want to send to a third-party converter.
Use Excel (XLS, XLSX) to HTML Converter
Input
Preview
HTML Output
Read Content
What the converter produces
The tool accepts .xlsx, .xls and .csv files. After you choose a file, it lists the available sheets. Select one, decide whether the first row is a header, and the preview updates. The HTML text area shows the generated table markup, and the Copy HTML button puts the same string on your clipboard.
The markup uses a standard The converter works on one sheet at a time. If the workbook has several tabs, run the conversion once per sheet and combine the results in your page, or link to separate tables. The converter does not upload the file, so a large workbook is limited by your browser's memory rather than by a server upload cap. Very large sheets can still be slow to parse. Only the first 300 rows and 60 columns are converted. The header row counts toward the 300. If the sheet is larger, the preview shows a warning and the extra rows or columns are omitted from both the preview and the generated HTML. This cap keeps the page responsive and prevents a giant table from freezing the browser. For a larger dataset, split the sheet into smaller ranges, export several tables, or use a server-side reporting tool. Do not assume the downloaded HTML contains the whole workbook. Empty trailing rows collapse, so a sheet with formatting far below the data may still produce a shorter table than expected. Check the preview for the actual row count before publishing. HTML tables carry values, not spreadsheet formatting. Fonts, fills, borders, number formats, merged cells, comments, conditional formatting, charts and images are not included. A formula is converted to its displayed value, not to a live calculation. Dates and numbers may appear differently from Excel because the converter reads the underlying value. A currency cell may lose its symbol, and a date may appear in a different order. Check those columns before publishing, especially for prices, deadlines and statistical tables. Merged cells are a common source of confusion. The HTML table cannot span cells in the same way unless you add For a responsive layout, wrap the table in a container with horizontal scrolling rather than shrinking the font. Wide tables are hard to read on a phone, and a scroll container preserves the column relationships. The file is read locally in the browser. The page does not send the workbook to Newisty and does not keep a copy after you close the tab. The copy button uses the clipboard, so the generated markup may remain there until another copy replaces it. The converter is not a spreadsheet engine. It does not recalculate formulas, resolve external links, preserve macros or validate the data. It also does not sanitise the meaning of the content; it only escapes HTML characters. Review the table for accuracy before publishing. If the output looks empty, check that the selected sheet actually contains data and that the header setting is appropriate. If only part of the sheet appears, check the 300-by-60 limit. If the table is garbled, confirm the file is a real .xlsx, .xls or .csv rather than a renamed file of another type. A bare table is a start, not a finished accessible component. Add a Do not use an empty cell to create visual spacing. Screen readers announce empty cells and the table becomes harder to navigate. Use CSS padding or borders instead. If a cell spans multiple columns, add the correct For a wide table, wrap it in a container with The converter does not add classes or inline styles, so the table inherits your page's defaults. A simple style block can add borders, padding, a header background and zebra striping. Use Keep numeric columns aligned consistently, usually to the right, and text columns to the left. Do not centre every cell; alignment helps readers compare values. If the source has a total row, style it with a heavier top border rather than relying on a background colour that may not print. Check the table in both light and dark themes if your site supports them. A hard-coded black text colour can disappear against a dark background. Use inherited colours or theme variables, and test the hover and focus states if the table contains links. with
and when the header option is on. Cell text is HTML-escaped, so a value containing angle brackets or an ampersand is displayed as text rather than being interpreted as markup. That is important when the spreadsheet contains user-entered content.
How to convert a spreadsheet
The 300-row and 60-column limit
What is not preserved
colspan or rowspan manually. If the layout depends on merged headers, expect to edit the markup after conversion.Where the output works well
Privacy, accuracy and limits
Making the generated table accessible
<caption> that describes the table's purpose, and use scope="col" on header cells so assistive technology can associate each column with its data. If the first column is a row label, mark those cells as scope="row" headers. Keep the header option on when the first row contains labels; otherwise the table has no clear structure.colspan and test the reading order, because a visual merge is not automatically an accessible one.overflow-x:auto and a keyboard-focusable region. Add a short instruction such as “Scroll horizontally to see all columns” if the table is wider than the screen. On mobile, consider showing fewer columns or splitting the table into two related tables rather than shrinking the text to an unreadable size.Styling the output
border-collapse: collapse for a compact grid, and set a minimum width only when you also provide horizontal scrolling.Frequently Asked Questions
FAQ
Comments (0)
Describe the issue you encountered so we can investigate and improve the tool.