Free Tool
4.9/5

Free Tweet Link Generator

Build a pre-filled X post link on the official x.com/intent/tweet endpoint: add text, a URL, hashtags, and a via credit, then copy the link, HTML, or Markdown. No coding, 100% in your browser.

Every field is optional, fill in at least one. We build and encode the x.com/intent/tweet link for you.

Added as the url parameter and shown after the text.

Comma-separated, no # needed.

Your handle without the @, X appends via @handle.

Want to know which page actually gets your posts shared?

Shorten your tweet link with Flyn and get a clean branded URL plus click analytics, see whether the newsletter footer or the blog quote drives the shares.

Shorten for free

How to Make a Tweet Link in 3 Steps

Step 1: Write the post you want shared, Tweet Link Generator screenshot
1

Write the post you want shared

Fill in any of the four fields: the tweet text, a URL, comma-separated hashtags, and a via handle for credit. One field is enough, the link builds live as you type.

Step 2: Copy your tweet link, Tweet Link Generator screenshot
2

Copy your tweet link

We URL-encode every value into the official x.com/intent/tweet URL and hand you the link, an HTML "Tweet this" button, and a Markdown version for docs and READMEs.

Step 3: Put it behind "Tweet this", Tweet Link Generator screenshot
3

Put it behind "Tweet this"

Drop it into newsletters, blog pull quotes, and thank-you pages. Shorten it with Flyn to see which placement actually gets clicked.

What Is a Tweet Link?

A tweet link is a URL built on X's official Web Intent endpoint, x.com/intent/tweet. Clicking it opens the X compose box with a post already written, so the reader only has to press Post. It is the mechanism behind every "Tweet this" button you have seen on blogs, newsletters, and launch pages.

The endpoint accepts four query parameters, all optional: text pre-fills the message, url adds a link after it, hashtags takes comma-separated tags without the #, and via appends a "via @yourhandle" credit. Each value must be URL-encoded, spaces become %20 and so on, which is the fiddly part this tool handles for you.

Nothing is ever posted automatically. The link only pre-fills the compose box; a human reviews the words and presses Post, which is why intent links sit comfortably inside X's rules. The legacy twitter.com/intent/tweet address still works and redirects to the same screen, so older buttons keep functioning too.

A complete tweet link:

https://x.com/intent/tweet?text=Loved%20this%20guide&url=https%3A%2F%2Fexample.com%2Fpost&hashtags=marketing,seo&via=flynlinks

Where to Put Your Tweet Link

A tweet link converts when it meets a reader at the moment they already want to share. These are the placements that earn clicks, and the ones worth tracking.

PlacementWhy it works
Newsletter footerReaders who just finished your email are the warmest audience you have; a one-click pre-filled post beats a bare "follow us" line.
Blog pull quotesTurn your sharpest one-liner into a Tweet this link right where readers would highlight it anyway.
Thank-you pagesAfter a signup or purchase, goodwill peaks. A pre-written post makes sharing effortless at exactly that moment.
Launch pagesArm early users with ready-made words about your release, so telling their audience takes a single click.
Podcast show notesListeners share the episode with your handle credited automatically through the via parameter.
Slide decks & PDFsLinks work in PDFs and presentations; a short branded Tweet this link is easy to type from a slide.

Pro tip

Use a different Flyn short link for each placement (one for the newsletter, one for the blog, one for the thank-you page). Same pre-filled post, separate click counts, so you can see which spot actually gets your message shared instead of guessing.

Tweet Link Best Practices

Do

Don't

Write the post as the reader would say it

Pre-fill ad copy nobody would post

Keep the pre-fill well under 280 characters

Max out the limit so one edit breaks it

Use one or two relevant hashtags

Stack five hashtags on a single post

Credit your handle with the via field

Type @ or # into the fields, they are added for you

Shorten the link before publishing it

Paste the raw encoded URL into a newsletter

Click your link once before shipping it

Trust that your CMS kept the encoding intact

Know Which Placement Gets Shared

See what gets clicked

Shorten your tweet link with Flyn and count clicks by newsletter, post, and page, so you know which placement earns shares.

Branded & memorable

Turn the long encoded intent URL into go.yourbrand.com/tweet, clean enough for print, slides, and podcasts.

Opens the X app

Intent links open the compose screen right in the X app on mobile, where most of your readers actually share.

A/B test placements

Split-test where your Tweet this button converts best, footer vs pull quote vs thank-you page (Pro).

Frequently Asked Questions

What is a tweet link generator?
A tweet link generator builds a special URL that opens X (formerly Twitter) with a post already written. This tool wraps the official Web Intent endpoint, x.com/intent/tweet, and URL-encodes your text, link, hashtags, and via handle into a single shareable URL. Put it behind a "Tweet this" button in a newsletter or blog post and readers can share your message in one click.
What is the x.com/intent/tweet URL format?
The format is https://x.com/intent/tweet?text=TEXT&url=URL&hashtags=TAG1,TAG2&via=HANDLE. Every parameter is optional: text pre-fills the message, url adds a link, hashtags takes comma-separated tags without the # symbol, and via appends "via @yourhandle" to credit your account. Each value must be URL-encoded, which is exactly what this tool does for you.
Does a tweet link post automatically?
No, and that is by design. The link only opens the X compose box with everything filled in; the reader still reviews the post and presses Post themselves. Nothing is ever published without that final tap, which keeps the link compliant with X automation rules and safe to place anywhere.
Do I include the # in hashtags or the @ in the via handle?
No. The hashtags parameter takes bare comma-separated words (marketing, seo) and X adds the # when it renders the post. The via parameter takes your handle without the @. This tool strips stray # and @ symbols automatically, so pasting them does no harm.
Does twitter.com/intent/tweet still work?
Yes. After the rebrand, X kept the legacy twitter.com/intent/tweet endpoint alive and redirecting, and x.com/intent/tweet opens the same compose screen. This tool generates the x.com form because it matches the current domain, but both take identical parameters and behave the same way.
Is there a character limit on the pre-filled text?
The post the reader ends up with must fit the normal X limit, 280 characters for most accounts. Every URL counts as 23 characters because X wraps it with its t.co shortener, and each hashtag adds its length plus the # and a space. The tool shows a live estimate and warns you if the combination runs over, since a too-long pre-fill forces readers to edit before they can post.
Does the tweet link work on mobile and in the X app?
Yes. On phones, tapping the link opens the compose screen in the X app when it is installed, or in the mobile browser when it is not, with the text, link, hashtags, and via credit carried over. That covers where most sharing actually happens, so one link works across desktop and mobile.
How do I make a "Tweet this" button for my blog or newsletter?
Generate the link above, then copy the HTML snippet, a ready-made anchor tag with target="_blank" and rel="noopener noreferrer". Paste it into your post template or email builder and style it like any other button. For Markdown-based sites, docs, and README files, use the Markdown output instead.
Can I pre-fill an image, poll, or thread?
No. The tweet Web Intent supports text, url, hashtags, and via only; media uploads, polls, and multi-post threads cannot be passed through a link. If you want an image to appear in the shared post, the practical route is to include a link whose destination page has strong Open Graph tags, X then renders a preview card under the post.
Do readers need to be signed in to X?
They need an X account to post, like any tweet. If a reader is signed out, X shows the login screen first and then opens the compose box with your pre-filled content intact. Nothing is lost in the handoff.
Is using tweet intent links allowed by X?
Yes. Web Intents are an official X feature built for exactly this, letting websites offer post and share actions without API keys. Because a human always reviews and sends the post, intent links do not fall under the automation rules that govern bots. Sites have used them for years to power "Tweet this" and share buttons.
Can I track how many people click my tweet link?
Not with the raw intent URL, X does not report clicks on it and it will not show up in your analytics. Shorten the tweet link with Flyn first and every click is logged with referrer, device, and location, so you can see whether the newsletter footer or the blog pull quote actually drives shares. Note that clicks measure taps on your button; the final Post tap happens inside X.

Turn readers into sharers, and know it worked

A tweet link removes the writing effort from sharing. A Flyn link on top tells you which newsletter, post, or page actually earned the click, so you can do more of what works.