# PDF Table Layout Engine

Render structured table data into a paginated PDF with repeating headers and zebra rows

> Canonical page: https://elysiatools.com/en/tools/pdf-table-layout-engine

- **Category:** Document Tools

- **Keywords:** pdf, table, layout, pagination, headers, zebra, html, puppeteer

## Overview

Build print-ready tables from JSON data.

**Features**
- Auto pagination with row keep-together
- Repeating table headers on every page
- Zebra row styling for readability
- Automatic column width sizing

**Input**
- JSON array of objects or arrays
- Optional column order override

**Output**
- A PDF table with clean borders and margins

## Inputs

- **Table Data (JSON)** (textarea): \[{"Product":"Widget A","Qty":2,"Price":19.5},{"Product":"Widget B","Qty":1,"Price":9.9}\]
- **Columns (Optional)** (text): Product, Qty, Price
- **Table Title** (text): Quarterly Sales Table
- **Table Subtitle** (text): Auto-pagination with repeated headers
- **Page Size** (select)
- **Orientation** (select)
- **Font Size (px)** (number)
- **Margin (mm)** (number)
- **Repeat Header Rows** (checkbox)
- **Zebra Rows** (checkbox)

## When to use

- Converting structured JSON datasets into clean, paginated reports for printing.
- Generating professional invoices or inventory lists that require consistent header placement.
- Formatting large data tables that need to be split across multiple pages without losing context.

## How it works

- Paste your JSON array of objects into the input field.
- Customize the layout by setting the page size, orientation, and margins.
- Enable features like 'Repeat Header Rows' and 'Zebra Rows' to enhance document readability.
- Generate and download your formatted PDF document.

## Use cases

- Creating quarterly financial reports from exported database JSON.
- Generating printable product catalogs or price lists for retail distribution.
- Producing structured audit logs or attendance sheets from web application data.

## Frequently asked questions

### What input format does the tool accept?

The tool accepts a JSON array of objects or arrays representing your table data.

### Can I control which columns appear in the PDF?

Yes, you can use the optional 'Columns' field to specify the order and selection of columns to display.

### Does the tool support multi-page documents?

Yes, the engine automatically paginates your data and keeps rows together to prevent awkward breaks.

### Can I customize the appearance of the table?

You can adjust font size, page margins, orientation, and toggle zebra-row styling and repeating headers.

### Is the output file ready for printing?

Yes, the output is a standard PDF file designed with clean borders and margins suitable for professional printing.

## Related tools

- [PDF Invoice Generator](https://elysiatools.com/en/tools/pdf-invoice-generator): Generate a branded invoice PDF from structured line items
- [PDF Table Extractor to CSV/JSON](https://elysiatools.com/en/tools/pdf-table-extractor-to-csv-json): Extract tables from PDFs with OpenDataLoader and export them as structured JSON, flat CSV, or HTML tables
- [Data URI Generator](https://elysiatools.com/en/tools/data-uri-generator): Convert files into Data URIs (Base64 or percent-encoded) for inlining images, fonts, and assets directly into HTML, CSS, or Markdown
- [PDF Receipt / Ticket Generator](https://elysiatools.com/en/tools/pdf-receipt-ticket): Create a thermal-width receipt PDF with bold title and QR code
- [Fitness Workout PDF Generator](https://elysiatools.com/en/tools/fitness-workout-pdf-generator): Generate a printable workout-plan PDF from JSON or CSV data with exercise tables, progress boxes, and optional QR video links
- [OCR PDF to Structured JSON Bridge](https://elysiatools.com/en/tools/ocr-pdf-to-structured-json-bridge): Extract the PDF text layer with geometry (lines by y-position, tables by column gaps, headings by font size, colon key-value pairs), then fill a user-supplied JSON Schema field by field — labels matched by normalized keys, values coerced to declared types and validated with ajv.
- [Chat Transcript to PDF](https://elysiatools.com/en/tools/chat-transcript-to-pdf): Lay out multi-role chat transcripts into a PDF conversation
- [LibreOffice Template Fill Merge](https://elysiatools.com/en/tools/libreoffice-template-fill-merge): Replace placeholders in DOCX template and render merged records to PDF using LibreOffice

## Samples

- [PDF Samples](https://elysiatools.com/en/samples/pdf-samples): Generated PDF samples from tools dated 2026-02-01 to 2026-02-10
- [Markdown Slide Deck Samples](https://elysiatools.com/en/samples/md-slide-deck-to-pdf): Remark/Marp style Markdown slide decks for testing PDF export layouts
- [Distributed Tracing Samples](https://elysiatools.com/en/samples/distributed-tracing-samples): Comprehensive distributed tracing examples using Jaeger, OpenTelemetry, and other modern observability tools for microservices architecture
- [AWS EventBridge Samples](https://elysiatools.com/en/samples/eventbridge-samples): AWS EventBridge examples including event buses, rules, targets, schema registry, custom events, and cross-account event routing for serverless event-driven architecture
