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.
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
- 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.
- Write alt text for every image before upload — the lexicon requires it regardless of file size.
- Export JPEG for photos or another image/* type your client accepts when it still fits the byte budget.
- 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.
- 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
- Bluesky AT Protocol — app.bsky.embed.images lexicon: https://raw.githubusercontent.com/bluesky-social/atproto/main/lexicons/app/bsky/embed/images.json — Post embed images array maxLength 4; per-image blob maxSize 2000000; accept image/*; required alt; optional aspectRatio.
- Bluesky Docs — Creating a post: https://docs.bsky.app/docs/tutorials/creating-a-post — Tutorial context for attaching up to four images at the 2 MB per-image limit.
- Bluesky Docs — Posts (advanced guide): https://docs.bsky.app/docs/advanced-guides/posts — Client validation against the 2,000,000-byte embed limit (prefer lexicon and code over stale prose).
- Bluesky AT Protocol — app.bsky.actor.profile (avatar/banner): https://raw.githubusercontent.com/bluesky-social/atproto/main/lexicons/app/bsky/actor/profile.json — Brief reference: avatar and banner blobs maxSize 1000000, PNG or JPEG only — not post embeds.
- web.dev — Compress images: https://web.dev/articles/compress-images — Experiment with quality settings; there is no one universal compression setting.
- Pillow — Image.save (JPEG quality, optimize): https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html#jpeg — JPEG quality and optimize parameters used in the quality sweep behind Compress to KB.
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
-
Compress image to KB
General hard byte-budget workflow for forms and marketplaces.
-
Compress images for email
Gmail and Outlook.com 25 MB attachment caps.
-
Compress images for WhatsApp
Meta Cloud API 5 MB JPEG/PNG image-message cap.
-
Compress images for GitHub
GitHub Docs 10 MB cap for images and GIFs on issues and pull requests.
-
Compress images for Discord
Discord Support 20 MB free per-file upload cap.
-
Compress images for Telegram bots
Telegram Bot API sendPhoto 10 MB cap for inline bot photos.
-
Compress images for LinkedIn posts
LinkedIn Help 5 MB cap for share-box photo uploads.
-
Compress images for Instagram
Instagram Graph API 8 MB JPEG cap for feed, Story, and Reels cover.
-
Compress images for Twitter / X
X API 5 MB still-image cap for Posts and DMs (animated GIF 15 MB).
-
Compress images for Notion
Notion Help 5 MB cap for inline PNG/JPG display (all plans).
-
Compress images for WordPress
WordPress Media Library 2560 px big-image threshold and PHP upload_max_filesize limits.
-
Compress images for Facebook
Meta Help Center 15 MB photo uploads; keep PNG under 1 MB to avoid pixelation.
-
Compress images for Pinterest
Pinterest Help 20 MB web Image Pin max; BMP, JPEG, PNG, TIFF, WEBP.
-
Compress images for YouTube
YouTube Help custom thumbnails: 50 MB on desktop; 50 MB mobile video, 10 MB mobile podcasts; JPG or PNG.
-
Compress images for Threads
Threads API image posts: 8 MB max JPEG or PNG; width 320–1440 px, aspect ratio up to 10:1.
-
Compress images for TikTok
TikTok Content Posting API: 20 MB max WebP/JPEG per image; 1080p picture-size ceiling.
-
Compress images for Mastodon
Mastodon post attachments: 16 MB max still images; 8.3 MP downscale; up to 4 images per post.
-
Compress to KB tool
Set a KB target and download a file under budget.
All compress to kb guides
- Compress image to KB: hit a hard file-size limit
- Compress images for email: hit Gmail and Outlook attachment caps
- Compress images for WhatsApp: hit the 5 MB image message cap
- Compress images for GitHub: hit the 10 MB image and GIF cap
- Compress images for Discord: hit the 20 MB free upload cap
- Compress images for Telegram bots: hit the sendPhoto 10 MB cap
- Compress images for LinkedIn posts: hit the 5 MB photo share limit
- Compress images for Instagram: hit the 8 MB JPEG upload limit
- Compress images for Twitter / X: hit the 5 MB image upload limit
- Compress images for Notion: stay under the 5 MB inline limit
- Compress images for WordPress: Media Library size and big-image rules
- Compress images for Facebook: file size and format before upload
- Compress images for Pinterest: hit the 20 MB web Image Pin cap
- Compress images for YouTube: custom thumbnail file-size limits
- Compress images for Threads: hit the 8 MB image post limit
- Compress images for TikTok: hit the 20 MB photo upload limit
- Compress images for Shopify: hit the 20 MB and megapixel upload limits
- Compress images for Mastodon: hit the 16 MB post attachment limit
- Compress images for Slack: byte size and inline preview limits
- Compress images for eBay: hit the 12 MB listing photo limit
- Compress images for Etsy: stay under the 1 MB upload reliability tip
- Compress images for Medium: hit the 25 MB story-editor limit
- Compress images for Google Business Profile: fit 10 KB–5 MB photo rules
- Compress images for Wix: Media Manager limits and practical upload ceilings
- Compress images for Webflow: 4 MB Assets limits and upload prep
- Compress images for Squarespace: 20 MB cap and 500 KB performance recommendation
- Compress images for Ghost: Ghost(Pro) plan caps (5 MB–1 GB) and self-hosted 50 MB nginx default
- Compress images for Gumroad: 50 MB cover limit and thumbnail prep
- Compress images for beehiiv: 5 MB newsletter uploads, 1200×630 thumbnails, and 10 MB community posts
- Compress images for Mailchimp: 1 MB Content Studio uploads, 1024 KB targets, and legacy vs new builder widths
- Compress images for Kit: smaller-than-25 MB gallery, form/LP sizes, and email look-best width
- Compress images for Klaviyo: 10 MB email ceiling, 1024 KB load targets, form 5120 KB, and full-width dimensions
- Compress images for MailerLite: 10 MB File manager, 1024 KB campaign prep, GIF 4 MB, and width rules
- Compress images for Brevo: 5 MB Content library, layout widths, and HTML/attachment contrast
- Compress images for Substack: official sizes, PNG email banners, and dimension-first prep
- Compress images for Google Ads: 5120 KB JPG/PNG assets, aspect ratios, and surface-specific rows