xweighted charactersVerified by Tal Weiss
X character limit and media specs
An X post holds up to 280 characters, with 4 images or 1 video up to 20 min. Every number below is the one our publishing engine enforces before an X post goes out, with the source it came from and the date we last read it.
Text[text]
| Max length | 280 weighted characters |
|---|---|
| Counting | Counted with X's weighted rules: every URL costs 23 characters whatever its length, and most emoji and CJK characters cost 2. |
| Account | Premium accounts may post up to 25,000 chars; we enforce the 280 floor for everyone. |
Media
| Constraint | Images[image] | Video[video] |
|---|---|---|
| Per post | 4 | 1 |
| Formats | .png, .jpg, .jpeg, .webp | .mp4, .mov |
| Max size | 5 MB | 512 MB |
| Max length | - | 20 min |
| We publish it | yes | yes |
We publish text, images and video here; PDF documents we do not deliver to X yet. One post carries images or a video, never both. A PDF deck degrades here into up to 4 slide images.
Mentions
| Syntax | @handle |
|---|
Plain @handle links natively. When the post references a company, person, or product with an X presence, tag it - a linked mention is free reach. Only handles you KNOW exactly; a guessed handle tags a stranger.
The guidance our own agent carries for X, verbatim.
How our publisher handles it
The notes our publishing engine carries for X, verbatim - what our adapter does, not only what the platform allows.
- A URL in the text raises the per-post API cost to $0.20 (vs $0.015).
- X takes a post video up to 8 GB (16 GB and 125 minutes with Premium); we upload files up to 512 MB.
- settings.replySettings limits who can reply (everyone | following | mentionedUsers | subscribers | verified); settings.communityId posts into an X Community; settings.madeWithAi and settings.paidPartnership put X's disclosure labels on the post. Set only what the user asked for.
Questions
- How long can an X post be?
- 280 characters. Counted with X's weighted rules: every URL costs 23 characters whatever its length, and most emoji and CJK characters cost 2. Premium accounts may post up to 25,000 chars; we enforce the 280 floor for everyone.
- How many images can one X post have?
- Up to 4: .png, .jpg, .jpeg, .webp, up to 5 MB each.
- What video does X accept?
- 1 video per post: .mp4, .mov, up to 512 MB each, up to 20 min.
- How do you tag an account on X?
- Write @handle. Plain @handle links natively.
Sources, verified 2026-11-06
Each citation names where the number came from. Anything we could not confirm in an official document is marked, because a number nobody will stand behind should look different from one that is.
- [text]docs.x.com fundamentals/counting-characters: 280 weighted, t.co=23 (2026-11-06); 25k Premium is help.x.comdocs.x.comverified 2026-07-14
- [image]docs.x.com media best-practices: up to 4 photos, 1 GIF or 1 video; JPG, PNG, GIF, WEBP, image 5 MB, GIF 15 MBdocs.x.comverified 2026-11-06
- [video]docs.x.com media best-practices: tweet_video 0.5 s to 20 min and 8 GB (Premium 125 min, 16 GB; 140 s / 512 MB is dm_video only); chunked upload, STATUS polldocs.x.comverified 2026-11-06
