keepcalculator

06 Numbers and Powers

Google Doc Link to Section: How to Jump Straight to It

Card No. 06·75256 · Updated · Standard formula, shown below

Yes, you can create a link that opens a Google Doc and jumps directly to a specific section, heading, or bookmark. You do this by copying the doc’s URL and appending a fragment identifier that points to the heading or bookmark you want. This works for links shared with other people, as long as they have permission to view the doc.

Why Link to a Section?

Long Google Docs are hard to navigate. When you share a 40-page report or a detailed SOP, you don’t want your reader to scroll and hunt for the relevant part. A direct link to a section saves time and reduces frustration. It’s especially useful in emails, Slack messages, or project management tools where you reference a specific part of a larger document.

How It Works: Headings and Bookmarks

Google Docs gives you two ways to create a link to a specific location: headings and bookmarks.

  • Headings (using the “Normal text” dropdown to select Heading 1, 2, etc.) are automatically linkable. When you copy a heading’s link, it includes a fragment like #heading=h.abc123 that tells the browser to scroll to that heading.
  • Bookmarks are markers you place anywhere in the doc, not just on headings. You can put a bookmark at the start of a paragraph, a table, or an image. The link will look like #bookmark=id.xyz789.

Both methods produce a URL that, when opened, makes the browser scroll the document so the target is in view.

Step-by-Step: Link to a Heading

This is the most common method because headings are already structured. Here’s how to do it:

  1. Open your Google Doc in a web browser (Chrome, Firefox, Edge, Safari).
  2. Click on the heading you want to link to. The heading text will be highlighted.
  3. Right-click the highlighted heading and choose Copy link (or Copy heading link in some versions).
  4. The link is now on your clipboard. Paste it anywhere. When someone clicks it, the doc opens and scrolls to that heading.

Note: This only works if the heading is styled with a Heading style (Heading 1, 2, 3, etc.), not just bold or larger font size. If you right-click and don’t see “Copy link,” check that the text is actually a heading.

Step-by-Step: Link to a Bookmark

Bookmarks are more flexible because they can go anywhere. Here’s how to create one and link to it:

  1. Place your cursor at the exact spot you want to link to (e.g., the beginning of a paragraph).
  2. Go to the menu: Insert > Bookmark. A small blue ribbon icon appears.
  3. Click the ribbon icon. A small popup appears with a Link option. Click it to copy the bookmark’s URL.
  4. Paste that link anywhere. It will jump to the bookmarked spot.

Bookmarks are great for linking to a specific sentence, a chart, or a section that isn’t a heading. You can have multiple bookmarks in a doc, each with its own unique link.

Common Problems and Fixes

Sometimes the link doesn’t work as expected. Here are the most frequent issues and how to solve them:

  • Permission denied: If the recipient gets a “You need access” message, they don’t have permission to view the doc. You must share the doc with them (or make it “Anyone with the link can view”) before the section link will work.
  • Heading style not applied: If you right-click text and don’t see “Copy link,” the text isn’t a heading. Select the text, choose a Heading style from the toolbar, then try again.
  • Link opens the doc but not the section: This can happen if the fragment ID is corrupted (e.g., you edited it manually). Always copy the link directly from Google Docs, don’t type it out.
  • Bookmark deleted: If you delete a bookmark, the link breaks and the doc just opens at the top. Re-add the bookmark and copy the new link.

Copying the Link Manually (Advanced)

If you want to construct the link yourself (for example, to use in a script or to modify), you can. The base URL is the doc’s normal URL (ending in /edit). Then you add a fragment. For headings, the fragment looks like #heading=h.abc123. For bookmarks, it looks like #bookmark=id.xyz789. You can get these IDs by copying the link as described above. Manually constructing is error-prone, so it’s better to use the built-in copy feature unless you have a specific reason.

Sharing the Link

Once you have the link, you can use it anywhere: email, chat, a wiki, or even a different Google Doc. When someone clicks it, the doc opens in a new tab (or the same tab, depending on the platform) and scrolls to the target. This works on desktop browsers and the mobile Google Docs app (though the app may open the doc and then jump to the section).

Frequently Asked Questions

Q: Can I link to a specific paragraph that isn’t a heading?
Yes, use a bookmark. Place the cursor in the paragraph, insert a bookmark, and copy its link.

Q: Does the link work if the doc is in “Suggesting” or “View only” mode?
Yes, as long as the viewer has at least view access, the link will jump to the section.

Q: Can I link to a section in a PDF exported from Google Docs?
No. This feature is specific to the online Google Docs editor. Exported PDFs don’t have the same dynamic link behavior.

Q: Why does the link sometimes open the doc at the top instead of the section?
This usually happens if the heading or bookmark was deleted, or if the fragment ID is incorrect. Re-copy the link from the heading or bookmark to fix it.

Q: Can I use this to link to a section in a Google Doc from a website?
Yes, you can paste the link into any web page, and it will work exactly the same.

Q: Is there a limit to how many bookmarks I can have?
No practical limit. You can add as many bookmarks as you need, each with its own unique link.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →