In markdown you can make a link clickable using a certain syntax (you have GUI options that automated that or you can follow the syntax).

This is great as it hides the ugliness of long urls behind a user friendly name.

My question is: how can we do this in Google Docs comments? If that's not possible, is there a way to provide a relative link in Google Docs to the header (as opposed to showing the whole link)?


enter image description here

  • 1
    Comments automatically link URLs if you put them in. Are you asking how to shorten a URL? Commented Jun 1, 2016 at 20:40
  • Allegedly this feature now exists, per the docs, though I've not been able to get even their demo to work for me. Open a file in Google Docs.
    – Peter
    Commented Aug 9, 2022 at 22:02

1 Answer 1


Short answer

Insert a full URL instead of just the fragment, like #heading=h.kue93nkjalic


Google Comments automatically convert inserted full URL to links but it doesn't do the same for anchors. Google Comments use the same formatting than Google+ posts.

  • *bold*
  • _italic_
  • -strikethrough-
  • @name or +name to mention an user

There is no formatting option for URLs, so is you would like to avoid long URLs you should use a URL shortener.


  • I don't care about the URL being long, I care about it not telling me what the link is to. A link shortener doesn't do that, if anything it makes it worse. Are you saying there is no way to create arbitrary text that has a link attached to it?
    – Michael
    Commented Sep 25, 2018 at 1:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.