Google Docs tasks · Tables
Make a Google Docs table repeat its header row on every page
A long table that spills onto a second page leaves its column labels behind on page one, and the reader is left guessing which number is the price and which is the quantity. Google Docs calls the fix pinning a header row: the top row repeats at the head of the table on every page it crosses. This guide pins the header, checks the result, and covers the related setting that keeps a single row from splitting in half.
Pin the header row
Google describes table layout controls in its help on how to add and edit a table: the Table properties panel holds the option that pins header rows so they repeat when the table breaks across pages.
- Make the first row a real header. Put the column labels — Item, Quantity, Price — in the top row of the table itself, not in a paragraph above it. Only a row inside the table can repeat. Bold the labels so the repeated row reads as a header on every page.
- Click anywhere in the table, then open Format > Table > Table properties. You can also right-click inside the table and choose Table properties from the menu. The properties panel opens at the side.
- Open the Row section of the panel. The Row section holds the pinning control along with row height settings.
- Turn on Pin header row and set the count to 1. The setting lets you pin more than one row; for a normal table, pinning the single label row is the goal. If your table uses two label rows — a group heading over sub-labels, for example — set the count to 2 instead.
- Close the panel and scroll through the page breaks. Wherever the table continues onto a new page, the pinned row now appears at the top of the continued part.
Check the break and keep rows whole
- Confirm the repeat in Print preview. Use File > Print to preview the pages as they will print. The screen view in pageless format hides page breaks entirely, so a document in pageless mode needs the print preview — or a switch back to pages format under File > Page setup — to judge the result.
- Stop a tall row splitting across the break. In the same Row section of Table properties, turn off the option that allows a row to break across pages. A row with several lines of text then moves whole to the next page instead of straddling the break, which is almost always easier to read.
- Give the repeated header a distinct look. A light background fill on the header row, set through Table properties or the toolbar fill control, makes the repeated row recognizable as a header on page three, where a reader may land without seeing page one.
Copying the label row by hand onto each page looks similar but breaks the moment an edit reflows the table — rows land in the wrong place and the pasted labels drift out of position. The pinned setting moves with the table automatically, which is why it is worth the extra clicks.
End state
- The table's label row repeats at the top of the table on every page it crosses.
- The pinned row count matches the real header — one row for most tables.
- No data row is split in half across a page break.
- Print preview shows the header on the first and every continuation page.
When it goes wrong
- The header does not repeat. Check that Pin header row is actually on in Table properties, and that the table really crosses a page break — a table that fits on one page has nothing to repeat. Add a few test rows to force a break while you check.
- You cannot see any page breaks at all. The document is likely in pageless format. Switch under File > Page setup to pages format, or judge the result in Print preview instead.
- Two rows repeat but you only wanted one. The pinned row count is set to 2. Reopen the Row section of Table properties and lower it to 1.
- The repeated row shows on screen but the printed copy differs. Trust Print preview over the editing view, and check you are printing the current document rather than an older downloaded copy.
- A huge gap appears at the bottom of a page. That is usually the do-not-break-across-pages row setting moving a tall row whole to the next page. It is the intended trade-off; shorten the row's text or allow that one table to break rows if the gap is worse than the split.
Related document tasks
-
Make a long Word table repeat its header row on every page
Make a long Word table repeat its header row on every page: select the header rows, turn on Repeat Header Rows, edit the header only on the first page, and fix the cases where the repeat silently stops.
-
Repeat a row of text at the top of every printed page from Word
Repeat a row at the top of every printed page in Word: set a table's first row to repeat with Table Layout > Repeat Header Rows or Table Properties, repeat two heading rows, edit headings once on page one, and use the document header instead when a title line belongs on every page of the document.
-
Sort the rows of a table in Google Docs
Sort the rows of a table in Google Docs by any column, ascending or descending: protect the header row first, sort from the Table menu, and check the result before the original order is lost.
-
Create a Google Docs document from a table pasted out of a PDF
Create a Google Docs document from a table pasted out of a PDF: try the direct paste, clean up what lands in one column, rebuild the table properly with Insert Table, or open the PDF with Google Docs when the table is large.
Sources
- Google Support, Add and edit a table — Table properties, pinning header rows so they repeat across pages, and controlling whether rows break across pages.