Convert HTML table to CSV

Mar 16, 2019 0 Comments

HTML to CSV Converter is used to convert HTML table to CSV by extracting the rows from HTML tables & converting them to CSV format.



Input: Paste HTML content below



Settings

Background Information

HTML is the language of the internet. It is what creates HTML pages (even this one). In the old days, HTML used to be static with some JavaScript added into the mix for dynamic behavior and effects. Then HTML was served dynamically from the server side with the advent of server side programming languages such as PERL, PHP, ASP. And now there is a new trend where HTML is again being served as static resources with JSON (from REST web services) and JavaScript making it dynamic.

CSV is an old & very popular format for storing tabular data. It has been used in the desktop as well as mainframe. It is a simple & compact format that works really well for tabular data and so is still in use today.

Settings Explained
  • 1. Write Header

    Choose whether to write the header record (which contains the names of the columns) in the output.

    Write Header On

    name,department
    John Doe,Engineering
    Jane Doe,Billingr
    Write Header Off

    John Doe,Engineering
    Jane Doe,Billingr
  • 2. Delimiter

    Choose which delimiter to use to separate the fields & column names in a record. Acceptable values are:-

    • Comma
    • Tab
    • Space
    • Pipe
    • Semi-Colon

    Comma Delimiter

    name,department
    John Doe,Engineering
    Jane Doe,Billing
    Tab Delimiter

    name	department
    John Doe	Engineering
    Jane Doe	Billing
    Space Delimiter

    name department
    "John Doe" Engineering
    "Jane Doe" Billing
    Pipe Delimiter

    name|department
    John Doe|Engineering
    Jane Doe|Billing
    Semi-Colon Delimiter

    name;department
    John Doe;Engineering
    Jane Doe;Billing
 
Comments 0

History
Mar 16, 2019
Handle HTML encoded values
Oct 21, 2017
Tool Launched