X media checker

PubNio checks X files for format, size, and count before it publishes, for the X post. An X post with GIF 12 MB, PNG 1.5 MB fails: "X accepts one GIF by itself." Platform docs read 2026-12-05.

Platform docs read 2026-12-05View as Markdown

Tool

Pick a placement, then list files by format and size.

X post rule: accepts JPEG, PNG, GIF, WebP, MP4, MOV; up to 4 images of up to 5 MB, or one video of up to 512 MB, not both.

1 file: GIF 12 MB

Passes.

Rules it applies

  • X post: accepts JPEG, PNG, GIF, WebP, MP4, MOV; up to 4 images of up to 5 MB, or one video of up to 512 MB, not both. 5 images: "X posts accept up to 4 images." No files: passes as a text post.
  • A GIF goes alone and may reach 15 MB. This checker reads video size only; once PubNio has probed a stored video, one longer than 140 seconds fails with media_duration: "X videos must run at most 140 seconds."
  • PubNio's media library stores video up to 5 GiB and other files up to 256 MiB; each placement's own cap above still applies.

What X documents

Where the two columns differ, the tool applies PubNio's value, because that is what PubNio checks before it publishes.

Platform limits beside the values PubNio enforces
ItemPlatform documentsPubNio enforcesSource
Images5MB; JPG, PNG, GIF, WEBP5 MB; JPEG, PNG, GIF, WebPX API: Upload Media, read 2026-12-05
GIF size15MB15 MBX API: Media best practices, read 2026-12-05
Attachments per post4 attachments; another official page says 20 attachments (read 2026-12-05)4 images, 1 GIF, or 1 videoX API: Media best practices, read 2026-12-05
Video length in a post0.5 seconds to 20 minutes140 seconds at mostX API: Media best practices, read 2026-12-05
Video length in a DM0.5 to 140 secondsNot checkedX API: Media best practices, read 2026-12-05

Limits

  • It runs in your browser and sends nothing to PubNio.
  • Duration, resolution, aspect ratio, and codecs are not checked here; the network can still refuse a file that passes.