TapToConvert All conversions

Home / Document Converter / HTML Converter / HTML to XLS

HTML to XLS Converter

Convert an HTML file to XLS right here in your browser. Nothing is uploaded: the conversion runs on your own device, so it is private, has no file size limit set by a server and works offline once the page has loaded.

Drop files hereChoose HTML files Nothing is uploaded. Any size your device can handle.

Add a file from a URL

The file is fetched by your browser straight from that website, not through our servers. It works when the site allows other websites to download its files.

Settings

Add files to begin.

    What happens when you convert HTML to XLS

    • Each table in the HTML becomes its own sheet, named Table 1, Table 2 and so on. Numbers are stored as numbers, and cells that span several rows or columns stay merged.
    • Text outside tables, such as headings and paragraphs, is left out, because a spreadsheet only holds the tables. An HTML with no tables gives a clear message rather than an empty file.
    • XLS allows at most 65,536 rows and 256 columns per sheet. Larger sheets do not fit the format; use XLSX for them.
    • The file is read by SheetJS running in your browser; nothing is uploaded.

    How to convert HTML to XLS online

    1. Press "Choose HTML files" and select one or more files, or drag them onto the box. You can add files of any size your device can hold in memory.
    2. There are no settings to choose: the converter keeps everything the target format can hold.
    3. Press "Convert to XLS". The spreadsheet library, about 900 KB, loads the first time and then workbooks convert in a moment.
    4. Save each XLS with its download button. Close the tab and every trace of the files is gone from memory.

    Why convert HTML to XLS?

    HTML files usually come from web pages, emails and documents meant to be read in a browser. People convert them to XLS because some older accounting systems, government portals and legacy software still only accept the older XLS format from Excel 97 to 2003.

    In short, HTML is good at what it was made for, and XLS is the more practical choice when the file has to open, upload or print somewhere else. HTML opens in every web browser, while XLS opens in Excel, Google Sheets, Numbers and LibreOffice Calc.

    How to convert HTML to XLS on Windows, Mac, iPhone and Android

    On Windows

    Open this page in Chrome, Edge or Firefox, drag your HTML files in from File Explorer, and press Convert. Each XLS is saved to your Downloads folder.

    On a Mac

    Safari, Chrome and Firefox all work. Drag the HTML files from Finder onto the drop zone and the XLS files land in Downloads.

    On iPhone and iPad

    Open the page in Safari and tap Choose HTML files. You can pick from Photos or from the Files app. The converted XLS appears in Files, in the Downloads folder.

    On Android

    Open the page in Chrome, tap Choose HTML files and pick them from Files or your gallery. The XLS is saved to the Download folder, where any file manager can find it.

    Best settings for HTML to XLS

    There are no settings: every table is read with its rows and columns as they are, and numbers are stored as numbers.

    Each table has its own sheet, in the order the tables appear in the HTML. Rename the sheets in your spreadsheet program if Table 1, Table 2 are not clear enough.

    HTML vs XLS: the differences

    HTMLXLS
    Full nameHyperText Markup LanguageExcel 97 to 2003 workbook
    Typedocumentspreadsheet
    Created byTim Berners-LeeMicrosoft
    First released19931997
    CompressionLosslessLossless
    What it holdstext with tags for headings, lists, links, tables and imagesseveral sheets with values, formulas and formatting in a binary file
    In a browseropens in every web browseropens in Excel, Google Sheets, Numbers and LibreOffice Calc
    Common usesweb pages, emails and documents meant to be read in a browserolder Excel files and systems that still export the legacy format
    MIME typetext/htmlapplication/vnd.ms-excel

    About HTML and XLS files

    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.

    What is an XLS file?

    XLS is the binary Excel format used before 2007. It is limited to 65,536 rows and 256 columns per sheet, far fewer than XLSX allows.

    HTML to XLS not working? Common problems

    • "No tables were found in this file." The HTML has no tables, only text; there is nothing to put into cells.
    • Some numbers are text. Numbers written with spaces or currency signs stay text; format the column as a number in your spreadsheet program.
    • A page saved from a website has no tables. Many sites draw their tables with scripts; open the page in a browser and save it with File, Save Page As once it has loaded.

    Convert HTML to XLS from the command line

    Python's pandas library reads the tables of a page; this writes the first one (it needs lxml, and openpyxl for XLSX):

    python3 -c "import pandas as pd; pd.read_html('input.html')[0].to_excel('output.xlsx', index=False)"
    soffice --headless --convert-to xls output.xlsx

    The converter on this page does the same job in your browser, without installing anything.

    HTML to XLS converter FAQ

    Will I lose quality converting HTML to XLS?

    The values in the tables are kept exactly. Text outside the tables is not, and neither is their styling, because a spreadsheet holds values.

    Why is the XLS a different size from the HTML?

    Usually smaller than the HTML, because only the tables are kept.

    Are my HTML files uploaded anywhere?

    No. The conversion runs inside this browser tab using the open-source SheetJS library, so your files stay on your device. You can disconnect from the internet after the page and converter engine have loaded and it still works.

    Can I convert several HTML files to XLS 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 XLS file?

    XLS opens in Excel, Google Sheets, Numbers and LibreOffice Calc. XLS is common for older Excel files and systems that still export the legacy format.

    Is this HTML to XLS converter free?

    Yes. There is no sign-up, no watermark and no limit on how many files you convert. The site is paid for by advertising, and because conversions run on your device there is no server cost per file.

    Can I convert HTML to XLS on my phone?

    Yes. The converter works in Safari on iPhone and iPad and in Chrome on Android. Converted files are saved to the Downloads folder.

    Convert HTML to other formats

    Convert other formats to XLS

    Looking for something else? Try the document converter or browse every conversion.

    Try MP4 to MP3, HEIC, merge PDF or compress video.