X (Twitter) Share Link Generator — Pre-Filled Post Composer Links
Create an X share link that opens the composer with your text, URL and hashtags already filled in. Use it for click-to-post buttons on blog posts, launch pages and testimonials where you want to suggest the wording.
Output will appear hereWhat the X (Twitter) Share Link Generator does
Create an X share link that opens the composer with your text, URL and hashtags already filled in.
Methodology and formula
The text, URL, hashtags and via handle are URL-encoded and passed to the x.com/intent/tweet endpoint.
Worked example
- Inputs
- Text Just found this, URL https://example.com, hashtags smallbusiness
- Result
- https://x.com/intent/tweet?text=Just%20found%20this&url=https%3A%2F%2Fexample.com&hashtags=smallbusiness
One click opens the composer with the post ready to publish.
When to use this tool
Pair the x (twitter) share link generator with the short link generator for a tidy shareable address, or the QR code generator when the link has to work on print.
About the X (Twitter) Share Link Generator
When to use the x (twitter) share link generator
Use it for click-to-post buttons on blog posts, launch pages and testimonials where you want to suggest the wording.
How the link is built
The text, URL, hashtags and via handle are URL-encoded and passed to the x.com/intent/tweet endpoint.
Things to watch out for
Keep the suggested text short — the URL and hashtags also count toward the character limit.
Frequently asked questions
Does the old twitter.com intent still work?
Can I force the user to post it?
Is this link generator free?
Do you store the links I create?
Related Link Generators
Other free link generators in the hub.
Reddit Share Link Generator
Generate a Reddit submit link with the title and URL pre-filled, optionally targeting a subreddit.
Open toolPinterest Share Link Generator
Build a Pinterest Pin It link with the source page, image and description pre-filled.
Open toolSMS Link Generator
Create an sms: link that opens the messaging app with the number and message pre-filled.
Open tool