Is there a way to create a link to a particular position inside a Google Doc?

by Edward Tanguay   Last Updated March 13, 2018 03:03 AM

If I have shared a Google Doc with someone so we both can edit it, is there a way I can send that purpose a URL that, when clicked, takes that person to the Google Doc and scrolls down to a particular position? e.g.:

http://docs.google.com/Doc?docid=0AWJy3jZ323434343TBndDlqM3Y3dg&hl=en&target=Section%203

this example would search for and find the text "Section 3"

Is there a way to do this kind of deep linking into Google Docs?



Answers 6


After you've got the headings in the document and formatted as such, do Insert > Table of Contents. It will add a TOC to the document with clickable links. Note that you can remove the TOC and the links are still valid. You can also insert bookmarks rather than a TOC.

It isn't a search feature though. If you look at the link that gets generated, it isn't something you'd be able to guess or manipulate.

Rebecca Chernoff
Rebecca Chernoff
July 07, 2010 21:21 PM

Create a bookmark (insert -> bookmark). Then you can add #name_of_bookmark to the end of the url.

eg: http://docs.google.com/document/d/15xm3Bx4Elnjbg0VNY#name_of_bookmark

akira
akira
July 07, 2010 21:27 PM

You can do the same thing with headers as you can with bookmarks without creating a Table of Contents.

Put the cursor on the header itself, then look at the address bar of your browser. It should change to update the fragment (hash - #) at the end like #heading=h.abc32def4 -- this should correspond to the link created in the Table of Contents. Copy that entire url and use wherever needed.

(from a similar question)


Update: the 'Insert Link' dialog now presents a list of headings, reducing the number of actions required:

enter image description here

drzaus
drzaus
August 23, 2012 15:12 PM

I just tried this with a bookmark named 'Bookmark9/10'. It didn't work.

Looking at the header example, I realized that isn't what was needed.

I inserted a link to the bookmark within the same document and then clicked on this link I saw bookmark=id.iqgsajlrwjl9 When I pasted that whole string (not just 'id.xxxxx') in after the # in the url to another document, it worked. I note this thread goes back several years. Today is 9/11/2014.

cje St. Cloud
cje St. Cloud
September 11, 2014 20:38 PM

Wanted to confirm that this works in Google Docs. Thanks so much for the answers in this thread.

What you do is highlight the portion you'd like to be linked in your document internally. Then, open up the "Insert" drop-down and click "Bookmark". That portion now will show up as an option when you want to link it elsewhere in the document. You can link it by clicking the link icon or going to "Insert" and clicking "link". In the options you should see "bookmarks" click it and then you can link it to the respective bookmark.

When you save the doc as a PDF those bookmarked links are now hyperlinked to where you want internally within the document.

Mercedes Samudio Parent Coach
Mercedes Samudio Parent Coach
August 30, 2015 20:31 PM

Right click and select Get link to this cell (see below screen shot). Now you'll have the URL with an anchor appended to the end in your system clipboard (URL#gid=0&range=B52). When you visit this anchored link, the browser focus will be on cell you linked to, e.g., B:76 in the below screen shot.

enter image description here

emallove
emallove
March 13, 2018 02:05 AM

Related Questions


Get share link of multiple files in Google Drive

Updated April 19, 2015 22:02 PM




Is there a way to link emails from Google Sheets?

Updated November 28, 2017 01:03 AM