Pages
Add pages, page groups or external links — and learn about the options you have on each page
A page is the place where you can add, edit and embed content. Pages always live inside a section, allowing you to group related content for the topics or areas you're covering.
When you publish your site, each section appears in your site's navigation, and the pages inside it all appear under that section.
Table of contents
Create as many pages as you need in a section. They're all visible on the left sidebar of your screen in your section's table of contents. The table of contents appears in the same place on your published site, unless you choose to hide it.
Create a new page
Enter live edit mode or open a change request.
Click Add new... at the bottom of your table of contents.
Click Page.
Or hover between pages in the table of contents and click the + icon that appears.

New page option missing
If live edits are disabled for your section, create or edit a change request. In a change request, the New page button — which creates pages, page groups, and links — is available in the table of contents.
You might also lack the permissions to edit a page.
Organizing your content
There are three ways to organize your content in the table of contents:
Pages
A page has a title, an optional description, and an area where you can write and add any kind of content.
Nest pages by dragging and dropping a page below another in the table of contents. Doing this creates a subpage.
If you add subpages to an empty parent page, GitBook automatically generates a 'contents' page with links to all the subpages in the published version of your docs.
When you change the title of a page, the page's slug (the part at the very end of the URL, such as /hello-world) also changes — unless you've manually set the page's slug previously.
A published page URL follows the navigation tree, not your Git Sync file layout. It includes the top-level section or group slug, every ancestor page or group slug, and the page's own slug.
For example, this Git Sync file layout:
Can have this navigation tree:
If the slugs are api, guides, and install, the published URL is /api/guides/install. The file path doesn't determine the URL.
To change the title, link title, or slug of a page:
Open the page's Action menu
.
Click Edit title & slug.
Page link title
To give your page a longer SEO-friendly title while keeping a shorter title for your navigation entry and links, define a link title.
Open the page's Action menu
.
Click Edit title & slug.
In the Edit page dialog, enable and define a link title for that page.
If you're using Git Sync, set the page link title in SUMMARY.md on the page link:
Page link titles are optional — if you don't add one, the page uses its standard title.
Page groups
Page groups bring related pages together within a section's table of contents. You can add an icon to each page group.
Create a page group by clicking Add new... > Group at the bottom of your table of contents.
Page groups live only at the top level of the table of contents — you can't nest page groups inside each other.
Page-group slugs become part of every child page URL. Adding, renaming, or removing a page group changes child page URLs and breaks existing links unless you add redirects. See Site redirects.
To change the title, slug, or icon of a page group:
Click the Action menu icon
next to the group title in the table of contents.
Click Rename.
Update the title, slug, or icon.
SUMMARY.md doesn't store page-group icons. GitBook stores them, and Git Sync doesn't round-trip them. If your repository recreates a page group, GitBook doesn't restore the original icon automatically. Set the icon again in GitBook.
External links
Add links to your table of contents to take people directly to the linked content.
Create an external link by clicking Add new... > External link at the bottom of your table of contents.
Page icons and emojis
To improve visibility for readers when skimming your table of contents, add an optional icon or emoji to individual pages. The icon or emoji appears in the table of contents, and next to the title at the top of the page.
To add an icon or emoji, click the Add icon button when hovering the page title, or the emoji button to the left of the title.
Page options
In the Page options menu, customize the look and feel of a selected page within a section and control its visibility.
Layout
Open the Page options menu or change a page's cover by hovering over the page title. The buttons appear just above the page title.
In the Page options side panel, choose how each page displays to visitors of your published content. There are three layout presets to choose from, or you can create a custom layout.
Each layout preset toggles the following parts of the page on or off:
Page title
Page description
Table of contents
Page outline
Next/previous links
Page metadata
Tags
Tag a page with one or more tags from Library → Tags. Turn on Show tags on page to display them in the page header. Or pick one tag as the page's primary tag, which GitBook can show next to the page in the table of contents. Learn more in Tags.
Set your page's global width from this menu, too. Choosing Wide gives blocks such as tables, cards, and code blocks more space on the published page. Use this for eye-catching landing pages.
Visibility
Choose which pages to show or hide in your published documentation, and whether each page appears in your site's search and in search engines.
To hide a page or group of pages from your site's table of contents:
Open the page's Action menu
.
Toggle Hide page.
Hidden pages are only hidden from the published table of contents. They remain available through the site's MCP server and in llms-full.txt.
If you're using Git Sync, hidden pages include the following front matter in the Markdown file:
Hiding Page title or Page description only hides the page header in published content. It doesn't remove headings inside the page body. Learn more about heading levels in Headings.
Metadata (SEO)
Use Page options → Metadata to control how search engines understand relationships between similar pages (for example: documentation versions or content variants).
Canonical URL: the preferred (authoritative) URL for this page. Search engines treat it as the 'source of truth'. Use it when multiple URLs show the same content.
Alternate URLs: other URLs for the same content in another variant. For example, another version or language. They help search engines group variants instead of treating them as duplicates.
Both fields support selecting another GitBook page (recommended) or entering an external URL.
Moving pages between sections
GitBook doesn't currently support moving individual pages between sections in the app. To move a page's content to another section:
Copy and paste — select the page's content with the
Esckey, then copy and paste it into the destination. Some blocks may need reconfiguring; comments and page history aren't copied, and images need re-uploading in the new section.Use Git Sync — if both sections sync with repositories, copy the files between repositories and add the page titles to the destination's
SUMMARY.md. See Git Sync.
Page covers
Set a page cover for each page of your documentation. When you click the Page cover option, GitBook adds a default cover immediately. The ideal cover image size is 1990 × 480 pixels — covers are locked to this aspect ratio, so the proportions are maintained across screen sizes. From here, you can:
Change the cover image
Hover over the page cover and click Change cover.
Choose or upload an image. The ideal size is 1990x480 pixels.
Reposition the cover image
Hover over the page cover and open the Action menu
.
Click Reposition.
Drag the image into place and click Save.
Remove the cover image
Hover over the page cover and open the Action menu
.
Click Remove.
Full width and hero width
Change the style of your page cover to span the full width of your screen or just the width of your content.
Hover over the page cover and open the Action menu
.
Click your preferred option.
Last updated
Was this helpful?