The increase in the character limit of comments has led them to become as important as the questions and answers that spawn them. On several occasions (especially on meta) I've found reason to want to link to a comment directly. I'd imagine something as simple as making the date / time stamp an anchored link which mimics the behavior of the question link.
- 17It's so weird when fanboys or people involved in something (people who make, use or support something) act like any questioning of the system or feature request, etc., is some kind of horrible attack and they knee-jerkingly attack the heretic who proposes it. I asked an accidentally duplicate question (I tried looking for "permalink"ing comments and didn't find it, so I made my own) and had the same kind of responses. But when they decide to go with it? Universal flip-flopping. In general, I don't like meta.stackoverflow because of this tendency to reject everything anybody says ever.vbullinger– vbullinger2012-03-06 17:36:03 +00:00Commented Mar 6, 2012 at 17:36
- 3Direct comment links should be more intuitive, e.g. having permalink icon - see Improve the usability/intuitiveness of direct comment linksMichael Freidgeim– Michael Freidgeim2016-06-25 01:56:34 +00:00Commented Jun 25, 2016 at 1:56
- 4This comment links to itself.Nae– Nae2017-12-26 13:28:26 +00:00Commented Dec 26, 2017 at 13:28
- meta.stackexchange.com/questions/5436/…BabyBoy– BabyBoy2022-03-12 08:50:25 +00:00Commented Mar 12, 2022 at 8:50
- 1I am not sure what exactly @vbullinger's comment refers to, but the Wayback machine shows that even in 2014, this question had comments and 1 "answer" which have since been removed, and in 2010, it was edited to add a "status-declined" tag🙄 In any case, all too true observation😔 Thank you very much for reporting this despite that phenomenon.Philippe Cloutier– Philippe Cloutier2025-11-10 16:55:32 +00:00Commented Nov 10 at 16:55
- Thanks, @PhilippeCloutier. When I first posted this suggestion, they didn't have comment permalinks on Stack Overflow. So I suggested they do it because sometimes the comments have serious information. A developer from Stack Overflow publicly told that was a terrible idea. Mine was deleted as a duplicate of this one. Then a few months later, the same developer said that it was now supported. But he didn't say that here, so I think mine was the suggestion that was taken :)vbullinger– vbullinger2025-11-13 01:32:47 +00:00Commented Nov 13 at 1:32
- Ah, thank you @vbullinger and sorry, I must have read your comment too fast. The good thing is you can now see your deleted questions (and link to them, although only a few would manage to see them). Which by the way is another pretty good example of a request being "declined"… then implemented.Philippe Cloutier– Philippe Cloutier2025-11-13 02:45:26 +00:00Commented Nov 13 at 2:45
6 Answers
This appears to be officially supported now:

Right clicking on the timestamp gives what looks like a stable URL:
https://meta.stackexchange.com/questions/5436/direct-link-to-a-comment#comment1232412_5436
- 1It comes from the SE modifications user script. Have you installed that?ChrisF– ChrisF2012-01-30 10:56:09 +00:00Commented Jan 30, 2012 at 10:56
- 3@ChrisF - nope, haven't installed that. Not seeing it on main either and chat.meta.stackoverflow.com/transcript/message/849109#849109 seemed to agree.Flexo - Save the data dump– Flexo - Save the data dump2012-01-30 10:58:42 +00:00Commented Jan 30, 2012 at 10:58
-
- I see that only on MSO and not on SO/SU. Is this a meta-only feature? I can imagine it being a little tricky if the comment thread were folded. (edit: ah.. just read the link to chat transcript)Shawn Chin– Shawn Chin2012-01-30 16:40:01 +00:00Commented Jan 30, 2012 at 16:40
- @ShawnChin It's enabled network-wide (though it's not as easy to tell on non-Meta sites due to the styling)Tim Stone– Tim Stone2012-01-30 17:16:08 +00:00Commented Jan 30, 2012 at 17:16
- @TimStone doesn't work for me on SO, no matter how I poke it.Shawn Chin– Shawn Chin2012-01-30 17:21:37 +00:00Commented Jan 30, 2012 at 17:21
- @ShawnChin - I'm not seeing it outside of meta yet. I assume that means it's not made it that far on its rollout yet.Flexo - Save the data dump– Flexo - Save the data dump2012-01-30 17:27:23 +00:00Commented Jan 30, 2012 at 17:27
- @ShawnChin Oh, weird...it's been enabled everywhere for me since last night, I even disabled all of my extensions to be extra sure (Since I had to update SEModifications to remove this feature).Tim Stone– Tim Stone2012-01-30 17:29:21 +00:00Commented Jan 30, 2012 at 17:29
- Might also be I have a script cached with a long expiry for mainFlexo - Save the data dump– Flexo - Save the data dump2012-01-30 17:33:43 +00:00Commented Jan 30, 2012 at 17:33
- Ah well, I'll try again tomorrow. I'm in no hurry to use this feature. Just curious to see how it handles links to comments that have been folded.Shawn Chin– Shawn Chin2012-01-30 18:02:34 +00:00Commented Jan 30, 2012 at 18:02
- @ShawnChin It expands them, then brings you to the comment. That part's been in place for some time, if you go to your responses tab and click a link to a (hidden) comment on an answer, you should be able to see it in action.Tim Stone– Tim Stone2012-01-30 18:18:49 +00:00Commented Jan 30, 2012 at 18:18
- 3Cool. I now see it on the other sites as well.Shawn Chin– Shawn Chin2012-01-31 10:09:43 +00:00Commented Jan 31, 2012 at 10:09
- 3"Right clicking on the timestamp"? Left click seems to work well. With FireFox, after a right click, you need to e.g. "Copy Link Location".Joseph Quinsey– Joseph Quinsey2014-01-03 17:12:41 +00:00Commented Jan 3, 2014 at 17:12
- @jos yes right click - left click causes a whole bunch of network traffic and loses what I've typed into form controls in Firefox.2014-01-03 17:56:03 +00:00Commented Jan 3, 2014 at 17:56
- 2Although this works, it's not obvious / user-friendly. A tool-tip on hover (e.g. "Click to share") would be helpful.Jim Fell– Jim Fell2018-10-17 14:13:32 +00:00Commented Oct 17, 2018 at 14:13
FWIW, you can link to comments by combining the URL used behind the scenes to retrieve them with the internal ID for the specific comment:
https://meta.stackexchange.com/posts/27319/comments#comment-57475
However, this relies on specific aspects of the current implementation, and there's no guarantee they won't change at some point in the future. Don't count on these links being permanent!
Or, even worse, combining the permalink of an answer (to ensure proper pagination) with the id of a comment, which however might not be shown on a page if there's too many comments, or if it's deleted (and hence would result in the page not scrolling at all):
Links from the profile page currently use a slightly different format, where the comment ID has the answer ID appended to it (comment-<commentID>_<answerID>): comment-57475_27319 - this triggers a bit of client-side script that'll scroll to the proper answer and expand comments... So it works great, but again: very implementation-specific, so be wary of using this anywhere it has to keep working long-term (at least for now): if the format changes, this won't even be recognized by the browser as a valid ID.
For a userscript that'll make this easier, see the SEModification.user.js available here.
- 4
- Interesting. But it takes the comment completely out of context. :) I'd hope to be able to link directly to this comment in the page flow.ahsteele– ahsteele2009-10-26 16:53:51 +00:00Commented Oct 26, 2009 at 16:53
- 3If you know it's in the top n comments and will therefore be displayed by default on page load, you can use a similar hack: meta.stackexchange.com/questions/5436/direct-link-to-a-comment/… ...But this is even more likely to break, since it's quite possible for a comment to disappear off of the page (too many answers, additional, up-voted comments...)2009-10-26 18:30:51 +00:00Commented Oct 26, 2009 at 18:30
- Actually: you currently know it's in "the top n" if it has at least one upvote. Hence, upvoting before linking might currently do the trick, like here... Still then: if the comment is deleted (or if the rendering is changed), the browser won't even scroll to the answer it might have belonged to. So: not really a permalink indeed.Arjan– Arjan2010-09-11 11:09:09 +00:00Commented Sep 11, 2010 at 11:09
- Okay, I was wrong in my last comment too. Some posts may have too many upvoted comments, and then even hide upvoted comments...Arjan– Arjan2010-10-02 09:57:42 +00:00Commented Oct 2, 2010 at 9:57
- It seems to me that permalinking to comments in the context of an answer would be possible if Auto expand comments of specific answer when browsing directly to that answer were implemented. Still then, deleted comments would not scroll the page at all, but show no error. Also, this might still not work for comments on questions. (And finally: if a comment is close to the bottom of the page, the browser might not scroll all the way down either.)Arjan– Arjan2011-02-08 22:10:00 +00:00Commented Feb 8, 2011 at 22:10
- @Arjan: I think it's pretty safe to say that this will never be a well-supported use-case for SO. If you have something important and want to link to it, edit it into an answer (and, optionally, support in-answer anchors)2011-02-08 22:51:44 +00:00Commented Feb 8, 2011 at 22:51
- @Shog9 how do I "combine the permalink of an answer (to ensure proper pagination) with the id of a comment" ? I want to link to japanese.stackexchange.com/questions/3223/… (as you can see there's too many comments so it's linking to the wrong place)Pacerier– Pacerier2011-09-25 19:24:46 +00:00Commented Sep 25, 2011 at 19:24
- @Shog9 - Now (2011-09-26) that this is a feature - at least from the profile page - can we assume that comment links are permanent?Kevin Vermeer– Kevin Vermeer2011-09-27 15:01:18 +00:00Commented Sep 27, 2011 at 15:01
- @Pacerier: this appears to work a little better now...2011-09-27 15:18:56 +00:00Commented Sep 27, 2011 at 15:18
- 1@Kevin: The profile-page links are... a little bit different from those described here. I wouldn't necessarily depend on them being permanent, but you can probably trust them to at least get you to the right answer.2011-09-27 15:20:02 +00:00Commented Sep 27, 2011 at 15:20
- @Shog9 ok I understand the hack now lolPacerier– Pacerier2011-09-28 13:04:48 +00:00Commented Sep 28, 2011 at 13:04
-
For what it is worth- sounds nice - you get the comment id from the timestamp or is there another way to retrieve it?user3123159– user31231592021-07-12 19:47:14 +00:00Commented Jul 12, 2021 at 19:47
This also works:
- this is to demonstrate answer aboveZombo– Zombo2017-02-07 04:09:24 +00:00Commented Feb 7, 2017 at 4:09
- 3True, but for this you need to get the comment ID first.user152859– user1528592017-02-07 07:12:59 +00:00Commented Feb 7, 2017 at 7:12
- 2This is sometimes useful when you need to link to a comment but you have to keep in mind also character limit. (For example, when writing comments.) And also in some other situations - for example, in connection with the problem I described here: Links to comments when the title has been edited.Martin– Martin2022-01-10 05:40:30 +00:00Commented Jan 10, 2022 at 5:40
- This is also useful when using API to link to commentsGangula– Gangula2024-06-27 20:20:49 +00:00Commented Jun 27, 2024 at 20:20
This would actually be really helpful for people who flag comments - being able to move directly to the item flagged.
I just can't see any legitimate need to deep link (permalink) to a comment.
Conceptually, they are too ephemeral compared to answers and questions. And on top of that, whether a comment is visible or not is completely dependent on how many other comments there are and how highly they are voted, among other variables...
Linking to the question or answer should be sufficient, I think.
edit: we do have a way to deep link to comments now, I believe -- I'll check and provide details.
- Comments last only one day? :-P I disagree as Kip's answer clearly shows how linking to a comment would have helped you with your blog post.ahsteele– ahsteele2010-03-30 22:54:26 +00:00Commented Mar 30, 2010 at 22:54
- 10You can’t see a reason to permalink to a comment Jeff? It sounds like you’re still thinking of comments as short, not-very-helpful, me-too/thanks type things. Perhaps you should take a look at some of the posts on Meta about comment-answers. Then maybe you’ll see a need for being able to link directly to comments.Synetech– Synetech2011-02-03 13:46:49 +00:00Commented Feb 3, 2011 at 13:46
- Interesting that this has since been implemented.Lightness Races in Orbit– Lightness Races in Orbit2011-06-23 14:34:55 +00:00Commented Jun 23, 2011 at 14:34
- 1"I just can't see" Says the blind man.... Sometimes I get a response that appears useless except when in context of the comment thread. It's sad that I have to use the browsers search function once expanding comments to actually find the comment buried in what would appear to be a wall of text otherwise.Lee Louviere– Lee Louviere2011-06-23 15:02:02 +00:00Commented Jun 23, 2011 at 15:02
- @xaade we explicitly suppress comments and discussion; it's hard for a reason, like driving your car on the sidewalk is supposed to be hard.2011-06-23 22:57:25 +00:00Commented Jun 23, 2011 at 22:57
- Jeff did this recently get implemented? Seems like comments are now all expanded by default and that links from the activity page jump directly to comments.ahsteele– ahsteele2011-09-10 06:23:29 +00:00Commented Sep 10, 2011 at 6:23
- 1@JeffAtwood: If comments were ephemeral (lasting a short time, is that really what you meant?) then why was the size of comments bumped up to 600 characters? If they are not supposed to be of any importance then why do something that gives them more importance?casperOne– casperOne2011-11-16 17:40:34 +00:00Commented Nov 16, 2011 at 17:40
- No, Jeff was right. Comments were intended to be "ephermeral" (short-lived), are easily deleted, and can be removed by someone else by a simple flag.bobobobo– bobobobo2012-01-30 17:11:51 +00:00Commented Jan 30, 2012 at 17:11
- 2Linking to comments in chat is useful.Lightness Races in Orbit– Lightness Races in Orbit2013-01-22 00:20:59 +00:00Commented Jan 22, 2013 at 0:20
- Jeff answered to a comment from @xaade, but the comment is not there/deleted. I hate this form of incomplete info.user3123159– user31231592021-07-13 06:51:43 +00:00Commented Jul 13, 2021 at 6:51
I agree, this has been a problem for me too a few times, mainly in meta-SO. It would have helped Jeff to link to me and TXI's bad joke in a recent SO blog post too! :)
- See that alone should seal the deal. ;)ahsteele– ahsteele2009-07-15 03:56:50 +00:00Commented Jul 15, 2009 at 3:56
- 1linking to the post is sufficient-ish -- comments are right there under the post2010-03-30 23:24:49 +00:00Commented Mar 30, 2010 at 23:24
- 7Answers are right under the question.... let's get rid of answer links. I was taught as a Customer interface designer, to put things where users look for them. It's not the producer that uses the product, it is the user.Lee Louviere– Lee Louviere2011-06-23 15:04:59 +00:00Commented Jun 23, 2011 at 15:04