HTML Table Generator
Create a regular rectangular HTML table for web content. Add a caption and real headers, edit literal multiline text, choose a restrained style and copy both HTML and CSS. Merged cells and rich markup are outside this tool.
Local table authoring
Your table stays in this browser. The tool adds no upload or saved history.
Build and copy a rectangular table
- Edit headings and body cells, add or move rows and columns, and enter an optional caption. A cell paste stays one literal cell. Use the explicit TSV replacement panel for a spreadsheet-like range.
- Choose column headings and whether the first column supplies row headers. Row-header mode pins that column. Set alignment, padding, a preset and Natural or Fixed layout.
- Inspect the full preview, then copy HTML and CSS separately. Both are required for the chosen whitespace, alignment, borders and scrolling. Editor pagination does not shorten the output.
Text, headers and presentation
The caption is real table content. Column headings use th with scope="col"; the optional first body column uses scope="row". Header modes change roles without inventing labels or turning a body row into headings.
Cells are literal text rather than HTML, Markdown or formulas. Line endings normalize to LF; tabs, spaces and leading zeros remain data. Character references preserve LF and TAB in parsed text, while the CSS pre-wrap and tab-size rules preserve their visual layout.
The row-header column stays first while enabled, so movement does not silently change its association with data. Turn the option off before moving or removing that column; enabling it again marks the then-current first column.
Natural and Fixed both use a 100% table width. Content and padding can still exceed a narrow space, so the exported labelled wrapper supports horizontal scrolling and keyboard focus. Preview viewport dimensions are not exported.
Literal text and table examples
The Stock & notes example has Item, Units and Notes headings and two body rows. Apples and Pears are row headers; Units aligns right. Moving Units after Notes moves its values and alignment together.
Keep chilled followed by a line break and Use first remains that exact multiline cell text. Ripe followed by a tab and soon retains its tab. The CSS is needed to display this whitespace as intended.
Text such as <b>A&B</b> stays literal and does not create a bold element. Entity-looking input & also stays literal after one HTML parse. Empty headings and cells are not replaced with editor placeholders.
Scope and destination limits
This tool authors regular tables with one optional column-heading row and an optional first-column row header. It has no merged cells, spans, grouped headers, footer, rich content, sorting or arbitrary style input.
Use 1–8 columns and 1–50 body rows. Caption and cell limits are 200 and 500 UTF-16 units after newline normalization, with at most 100000 retained data units. Import and generated-source caps are separate; oversized edits are rejected rather than truncated.
TSV replacement follows the stated quoting and record rules, not every spreadsheet dialect. It keeps caption and appearance but replaces grid identity and alignment. Malformed or over-limit input leaves the previous table intact.
Use distinct class names for differently styled tables on one page. Destination CSS, CMS sanitizers, email clients and fonts can change the result. Native table markup alone does not certify accessibility; meaningful labels, scrolling and actual use still need inspection.
Local table authoring without saved data
The tool adds no upload, saved table history, input-bearing link, remote asset request or telemetry containing your cells. Copy is explicit. A mounted language change retains authored data; a new document starts defaults. Existing site services and extensions are outside a universal privacy promise.
HTML table questions
Sources
Reviewed 13 November 2026. These references explain table semantics and CSS behavior; they do not certify a particular browser or assistive technology.
Related tools
JSON to YAML
Convert JSON to YAML locally while preserving number text and quoted strings; copy or download the complete result.
Open tool — JSON to YAMLYAML to JSON
Convert one YAML document locally to JSON with exact number text and bounded aliases, then copy or download the complete result.
Open tool — YAML to JSONHTML to Markdown
Convert pasted or local HTML into Markdown, review conversion notes, and copy or download the result.
Open tool — HTML to MarkdownJavaScript Regex Tester
Test a JavaScript pattern locally and inspect matches, captures, and UTF-16 positions.
Open tool — JavaScript Regex TesterMarkdown to HTML
Convert a Markdown draft to an HTML fragment, inspect the source and inert preview, then copy or download it.
Open tool — Markdown to HTMLText Sorter
Sort lines alphabetically by a chosen language or by Unicode code point, keeping duplicates, blank rows and complete line contents.
Open tool — Text SorterRemove Duplicate Lines
Keep the first copy of each exact text line, preserving order, significant spaces and blank rows, then copy or download the result.
Open tool — Remove Duplicate LinesText Diff Checker
Compare two drafts locally, with exact whole-line changes, visible whitespace rules and clear final-newline handling.
Open tool — Text Diff CheckerText to Speech Reader
Listen to pasted text with a browser voice. Adjust speed, pitch and volume, and replay short segments. Network voices can send text to their service.
Open tool — Text to Speech ReaderCase Converter
Convert text to uppercase, lowercase, capitalized words or sentence case with explicit letter rules.
Open tool — Case ConverterHTML Entity Encoder/Decoder
Encode or decode literal HTML references with explicit context, Unicode options and LF output, without parsing or rendering markup.
Open tool — HTML Entity Encoder/DecoderMarkdown Table Generator
Edit a small literal-text table, set alignment and copy GFM Markdown or import tab-separated text.
Open tool — Markdown Table GeneratorQuery String Parser & Builder
Edit ordered URL parameters, retain repeated names and copy a normalized query or HTTP(S) URL.
Open tool — Query String Parser & BuilderURL Encoder & Decoder
Convert a UTF-8 URL component or form value with explicit space and plus rules, then copy or download the result.
Open tool — URL Encoder & DecoderBase64 Encoder & Decoder
Encode UTF-8 text as standard or URL-safe Base64, or decode either format with clear errors and complete text output.
Open tool — Base64 Encoder & DecoderXML Formatter
Check namespace-aware XML 1.0, format or compact locally, and copy or download UTF-8 output.
Open tool — XML FormatterJSON Formatter & Validator
Check JSON syntax, format or minify locally, and copy or download output while preserving original data tokens.
Open tool — JSON Formatter & ValidatorSMS Character Counter & Segment Calculator
See how your message is encoded, where its segments end and what it may cost. Your text stays in your browser.
Open tool — SMS Character Counter & Segment CalculatorSocial Media Character Counter
Check platform-specific limits and split posts without losing text.
Open tool — Social Media Character CounterCharacter Counter
Count characters, words, sentences and paragraphs. Check word density, reading time and UTF-8 size, all in your browser.
Open tool — Character CounterText Size Calculator
Compare text encodings and payload sizes in your browser.
Open tool — Text Size CalculatorPDF Text Cleaner
Fix line breaks and spacing in text copied from a PDF. Preserve your original and review ambiguous hyphens before copying the cleaned text.
Open tool — PDF Text CleanerFancy Text Converter
Convert supported fancy Unicode letters to normal text locally. Keep case, accents, emoji and your original text.
Open tool — Fancy Text ConverterGarbled Text Fixer
Fix garbled text and repair broken accents with a browser-based mojibake fixer. Review each possible UTF-8 reversal before applying it.
Open tool — Garbled Text Fixer