Click to Tweet Generator
Generate a click-to-tweet link that pre-fills text, hashtags, a link, and a via handle on X (Twitter). Free and instant.
Independently verified for accuracy
Calculator by Toolsloft ↗Create a click-to-tweet link that opens X (Twitter) with your message, hashtags, and link already filled in. Drop it into a blog post or email so readers can share a quote in one tap.
How this is calculated
It builds a Twitter Web Intent URL (twitter.com/intent/tweet) with the text, url, hashtags, and via parameters. Each value is percent-encoded so spaces and symbols travel safely, hashtags are comma-separated, and the via handle drops any leading @.
How to use
- Type the tweet text you want readers to share.
- Optionally add a link, hashtags, and a via handle.
- Copy the generated link or the ready-made HTML anchor into your page.
Examples
- Text, link, hashtags, via:
intent/tweet URL with all parameters - Text only:
intent/tweet?text=Hello%20world
FAQ
- Does this still work on X?
- Yes. The twitter.com/intent/tweet endpoint remains the supported way to pre-fill a tweet, and it redirects to X for logged-in users. The link opens a compose window with your text ready to post.
- How should I enter hashtags?
- List them separated by commas, with or without the # sign. The tool strips any leading # and joins them the way the intent link expects, so "seo, tools" becomes the hashtags parameter automatically.