HTML Table Generator
Design a small table, type into the cells, and copy ready-to-paste HTML. You can include a header row, a caption and a little default CSS. The markup is not executed as a live site.
Grid and cell content
Limits
- At most 50 rows and 50 columns.
- No merged cells, colspans, rowspans or nested tables in this version.
- Cell text is escaped; you cannot inject raw HTML into a cell.
- The optional CSS is a minimal default, not a responsive design kit.
- A 50×50 grid is already a lot of DOM nodes on a phone; stay smaller when you can.
HTML markup
How to use HTML Table
- Set the sizeChoose rows and columns (up to 50 each). You can also paste CSV to fill the grid.
- Edit cellsType in the grid. Turn on a header row or a caption if you need them.
- Copy the HTMLCopy or download the <table> markup, with or without a basic <style> block.
What is generated
The output is a <table> with optional <caption>, <thead> and <tbody>. Cell text is HTML-escaped so typed characters such as < and & do not break the markup. You can ask for a small, readable default stylesheet (borders and padding) — it is not a design system.
Pasting CSV uses the same parser as CSV to JSON (Papa Parse) to fill the grid. This is a markup helper, not a spreadsheet: there are no formulas, merged cells or Excel export.
Frequently asked questions
Is my text or file uploaded?
No. Everything runs in your browser tab with JavaScript. Nothing you type, paste or drop is sent to a server, logged or stored by ALink Tools.
Can I paste from Excel?
Copy the cells from the spreadsheet and paste into the CSV box (tab-separated text usually works). Merged cells and formatting are not kept.
How do I add a link in a cell?
This version escapes all cell text, so a raw <a> tag will show as text. Add links after you paste the table into your editor if you need them.
Is the table responsive?
The default CSS is a simple bordered table. On a narrow screen you may still get horizontal scrolling — wrap it in your own layout if you need it to collapse.
Related tools
All toolsHTML Formatter
Pretty-print or minify HTML in your browser with js-beautify.
HTML Encoder / Decoder
Escape and unescape HTML entities without running or rendering the markup.
CSV to JSON
Parse CSV into JSON in your browser with Papa Parse, with or without a header row.
JSON to CSV
Turn a JSON array of objects into a CSV table, with optional flattening of nested keys.