Compress to KB topic guide

Compress images for Bluesky: hit the 2 MB post embed limit

Direct answer

When you attach still images to a Bluesky post through the AT Protocol, the app.bsky.embed.images lexicon defines the byte budget for each uploaded blob. Each image in the embed may be up to 2,000,000 bytes (documented as up to 2 MB), the images array allows at most four items, every image requires alt text for accessibility, and blobs accept image/*. Optional aspectRatio metadata can accompany each image. Profile avatar and banner blobs use separate app.bsky.actor.profile limits (1,000,000 bytes, PNG or JPEG only) — this page focuses on post embeds, not profile assets. If your export exceeds 2 MB per image, set a deliberate KB target and compress before you upload — Bluesky’s cap is far below X’s 5 MB still-image ceiling and Threads’ 8 MB API image-post limit.

Try the Compress to KB

What this workflow handles

Treat the app.bsky.embed.images maxSize of 2,000,000 bytes as your per-image byte budget when you build a post embed. Official lexicon rules: up to four images in one embed; each image blob maxSize 2000000; accept ["image/*"]; alt required on every image; aspectRatio optional. The lexicon does not publish width or height caps for post embeds — compress for bytes, not invented pixel limits. Pick JPEG for photographs or PNG/WebP/GIF when your client accepts them under image/* and the file still fits the cap. The 2,000,000-byte limit is a ceiling, not a target — set Compress to KB comfortably under 1953 KiB (2000000 ÷ 1024), quality-sweep at the current dimensions first, and downscale only if the quality floor still exceeds the budget. When you attach multiple images, each blob must meet the cap independently — plan bytes per file, not only for the first photo. compress-image-for-twitter covers X API tweet_image/dm_image still photos at 5 MB (5120 KB). compress-image-for-threads covers Threads API JPEG/PNG image posts at 8 MB with width 320–1440 and aspect up to 10:1 — a different Meta product with a higher ceiling. compress-image-for-tiktok covers TikTok Content Posting API WebP/JPEG photo transfer at 20 MB with a 1080p picture-size ceiling — not Threads and not TikTok video uploads. web.dev’s compress-images guide recommends experimenting with quality rather than assuming one universal setting. Beita’s Compress to KB uses a temporary analysis upload with no long-term storage; see the Privacy Policy for retention details.

Use Compress to KB with a target comfortably under 1953 KiB (2,000,000 bytes is a ceiling, not a target) before you attach image blobs to a Bluesky post embed. For X API 5 MB still-image rules, see Compress image for Twitter / X. For Threads API 8 MB image posts, see Compress image for Threads. For cross-network width presets, see Social media image resizer.

How to use it

  1. Open the app.bsky.embed.images lexicon on github.com/bluesky-social/atproto and note maxLength 4, maxSize 2000000 per blob, accept image/*, and required alt on each image.
  2. Write alt text for every image before upload — the lexicon requires it regardless of file size.
  3. Export JPEG for photos or another image/* type your client accepts when it still fits the byte budget.
  4. Enter a Compress to KB target comfortably under 1953 KiB (2,000,000 bytes is a ceiling, not a target), quality-sweep at the current dimensions first, and downscale only if the quality floor still exceeds the budget.
  5. Upload each blob through your Bluesky client or API integration and confirm every file is at or under 2,000,000 bytes; re-read docs.bsky.app if validation fails.

Frequently asked questions

What file size limit does Bluesky document for post image embeds?

The app.bsky.embed.images lexicon sets maxSize 2000000 on each image blob (described as up to 2 MB). Bluesky’s creating-a-post tutorial and advanced posts guide align with that byte check. Treat 1953 KiB as the ceiling in KiB terms — set your Compress to KB target comfortably under that limit, not at it.

How many images can one Bluesky post embed include?

The same lexicon caps the images array at maxLength 4. Each item still needs its own blob under 2,000,000 bytes and required alt text.

Which formats does Bluesky accept for post embed blobs?

The lexicon lists accept ["image/*"] on the image blob — clients typically upload JPEG, PNG, WebP, or GIF encodings that match that rule. Profile avatar and banner fields on app.bsky.actor.profile restrict to image/png and image/jpeg with maxSize 1000000; those are separate from post embeds.

Is alt text required for Bluesky post images?

Yes. The embed image object requires alt alongside the image blob in app.bsky.embed.images. Compression does not replace writing descriptive alt text before you publish.

How is Bluesky’s 2 MB embed limit different from X’s 5 MB, Threads’ 8 MB, Mastodon’s 16 MB, or TikTok’s 20 MB caps?

Different networks and numbers. X API media best practices cap tweet_image/dm_image still photos at 5 MB — see compress-image-for-twitter. Threads API image posts allow JPEG or PNG up to 8 MB with documented width and aspect rules — see compress-image-for-threads. Mastodon user docs describe post attachment images up to 16 MB with 8.3 megapixel downscaling and up to four images per post — see compress-image-for-mastodon. TikTok Content Posting API image transfer allows WebP or JPEG up to 20 MB with a 1080p picture-size ceiling — see compress-image-for-tiktok. Bluesky post embeds allow up to four image/* blobs at 2,000,000 bytes each with required alt text. Bluesky’s per-image ceiling is the strictest of these; TikTok’s API photo cap is the largest byte budget listed here.

What KB target should I use in Compress to KB?

Start from the lexicon maxSize 2000000 bytes (≈ 1953 KiB). That is a ceiling, not a target — enter a Compress to KB budget comfortably under 1953 KiB. Quality-sweep first at the current dimensions; allow stepped downscale only if the quality floor still exceeds the budget. Do not invent pixel limits the lexicon does not publish.

Does this page cover Bluesky profile avatars or banners?

Only briefly. app.bsky.actor.profile documents avatar and banner blobs at maxSize 1000000 with accept image/png and image/jpeg — separate from post embeds. This guide focuses on app.bsky.embed.images post attachments at the 2,000,000-byte cap.

Sources

Explore the compress to kb topic cluster

This guide covers Bluesky post embed image file size, format, and alt-text rules. Related guides cover general KB budgets, email, WhatsApp, LinkedIn share photos, Instagram Graph JPEG caps, Twitter / X still-image caps, Threads API image posts, TikTok Content Posting API photo transfer, Notion inline image caps, WordPress Media Library caps, Facebook Help photo uploads, Pinterest web Image Pins, YouTube custom thumbnails, Discord chat attachments, and the Compress to KB tool.

Related guides

All compress to kb guides