Post to Hackernews Bookmarklet
Free Post to Hacker News bookmarklet: opens the HN submit form with the page URL and title already filled in, so sharing takes seconds. No extension.
On a phone? Use Copy code, then save it as a bookmark's URL — step-by-step guide.
The Post to Hackernews bookmarklet saves you the copy-paste routine when you want to share a link on Hacker News. Click it on any article and the official HN submission form opens in a new tab with the URL and the page title already filled in.
It uses Hacker News' own submitlink endpoint, the same one the classic HN bookmarklet used, so nothing unusual happens behind the scenes. If the link was already submitted recently, Hacker News takes you straight to the existing discussion instead of creating a duplicate, which makes this a quick way to check "has this been on HN?" too.
Before posting you can tidy the title to match HN guidelines: remove the site name, drop clickbait wording and keep the original article title. It is useful for founders sharing launches, writers posting their own essays and anyone who reads HN daily.
What it does
- Opens news.ycombinator.com/submitlink with u=<page URL> and t=<page title>
- URL-encodes both values so special characters survive
- Leads you to the existing thread if the URL was submitted recently
- Opens in a new tab so the article stays open
How to install the Post to Hackernews bookmarklet
- Show your bookmarks bar. Press
Ctrl+Shift+Bon Windows/Linux orCmd+Shift+Bon a Mac (Chrome, Edge, Brave, Firefox). In Safari choose View › Show Favorites Bar. - Drag the blue button above onto the bar. That's it — the bookmark now holds the code.
- Open any website and click the bookmark to run it on that page. Click it again to close it.
Can't drag (phone, tablet, locked-down browser)? Copy the code below, create any bookmark, then edit it and paste the code as its URL. See how to add a bookmarklet in every browser.
How to use it
- Open the article or project page you want to share.
- Click Post to Hackernews.
- Log in to Hacker News if needed, adjust the title to follow HN guidelines, and click Submit.
Title tips
Hacker News prefers the original title of the article without the site name or added commentary, and moderators often edit titles that editorialize. If you are sharing your own project, prefix the title with "Show HN:" and link to something people can try. The bookmarklet never posts anything by itself; you always review and submit manually. Before submitting, it is worth searching HN for the domain to see how similar posts were received. Late-night US time posts get fewer eyes, so weekday mornings Pacific time are a popular choice for launches.
Bookmarklet code
This is the exact code inside the button above (178 characters). It runs only in your browser and sends nothing to us. Paste it into the Bookmarklet Decoder to read it formatted.
Frequently asked questions
Does it post automatically?
No. It only pre-fills the form; you review and press Submit yourself.
What if the link was already posted?
Hacker News detects recent duplicates and shows you the existing discussion instead.
Do I need a Hacker News account?
Yes, submitting requires being logged in to news.ycombinator.com.
Related bookmarklets
Free Open in daily.dev bookmarklet: jump from any article to its daily.dev post and comments, or start sharing it to a…
Free Add to Feedly bookmarklet: finds the RSS or Atom feed linked on the page and opens the Feedly subscribe screen in…
Free Markdown Link Copier bookmarklet: copies the current page as a clean [title](url) Markdown link for GitHub, Notion,…
Free Wayback Machine bookmarklet: open the Internet Archive calendar of saved snapshots for the current page in one…