Compress to KB topic guide

Compress images for Threads: hit the 8 MB image post limit

Direct answer

When you publish still images through the Threads API, Meta documents a separate media spec from Instagram Graph feed, Story, or Reels cover paths. Threads Posts — Media Specifications (Image) lists JPEG and PNG, an 8 MB maximum file size, width between 320 and 1440 pixels (scaled up or down if needed), aspect ratio up to 10:1, and sRGB color space. If your export exceeds 8 MB or you want fewer surprises at upload time, set a deliberate KB target and compress before you call the API — this page is Threads image file size, not Instagram in-app feed behavior or Facebook timeline uploads.

Try the Compress to KB

What this workflow handles

Treat the Threads API 8 MB image ceiling as your byte budget for single IMAGE posts (carousels are a separate API workflow with up to 20 children — each child still must meet media rules). Official specs: format JPEG or PNG; file size 8 MB maximum; aspect ratio limit 10:1; minimum width 320 (scaled up if necessary); maximum width 1440 (scaled down if necessary); height varies with width and aspect ratio; color space sRGB (other spaces converted to sRGB). Prepare the canvas before compressing: crop or resize so width stays within 320–1440 and aspect ratio does not exceed 10:1, export sRGB, then pick JPEG for photographs or PNG when sharp text or graphics still fit under the cap. The Help/API 8 MB limit is a ceiling, not a target — set Compress to KB comfortably under 8192 KB, quality-sweep at the current dimensions first, and downscale only if the quality floor still exceeds the budget — do not shrink below 320 px width just to save bytes unless aspect or width rules already force a rethink. web.dev’s compress-images guide recommends experimenting with quality rather than assuming one universal setting. compress-image-for-instagram covers Instagram Graph API JPEG-only feed, Story, and Reels cover publishing — same 8 MB number on some paths but different product, formats, and pixel rules; do not merge the workflows. compress-image-for-facebook covers Meta Help Center timeline photo guidance. compress-image-for-bluesky covers Bluesky post embeds at 2,000,000 bytes per image blob — a stricter ceiling than Threads’ 8 MB API image posts or X’s 5 MB still-image cap. compress-image-for-tiktok covers TikTok Content Posting API photo transfer at 20 MB per WebP/JPEG image with a 1080p picture-size ceiling — a higher byte budget but a different product and format list. Video posts on Threads use separate 1 GB MOV|MP4 specs — out of scope here. 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 8192 KB (Help/API 8 MB is a ceiling, not a target) before you attach an image to a Threads API IMAGE post. For Instagram Graph feed, Story, and Reels cover JPEG rules, see Compress image for Instagram. For cross-network width presets, see Social media image resizer.

How to use it

  1. Open Threads Posts on developers.facebook.com/docs/threads/posts/ and read Media Specifications (Image): JPEG or PNG, 8 MB max, width 320–1440, aspect ratio up to 10:1, sRGB.
  2. Crop or resize in your editor so width and aspect ratio meet the spec before you compress — do not rely on compression alone to fix an out-of-range canvas.
  3. Export sRGB JPEG for photos or PNG for sharp graphics when it still fits the byte budget.
  4. Enter a Compress to KB target comfortably under 8192 KB (Help/API 8 MB 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. Publish via your Threads API integration and confirm the file is at or under 8 MB; re-read Meta specs if validation fails.

Frequently asked questions

What image file size limit does the Threads API document for image posts?

Threads Posts — Media Specifications (Image) on developers.facebook.com/docs/threads/posts/ lists an 8 MB maximum file size for image posts. Treat 8192 KB as the ceiling — set your Compress to KB target comfortably under that limit, not at it.

Which formats and pixel rules apply to Threads API image posts?

The same spec lists JPEG and PNG as supported formats; aspect ratio up to 10:1; minimum width 320 and maximum width 1440 (with scaling if needed); height varies with width and aspect ratio; sRGB color space with conversion from other spaces.

How is Threads’ 8 MB image spec different from Instagram Graph’s 8 MB JPEG rule?

Different API products. Instagram Graph IG User Media documents JPEG-only feed, Story, and Reels cover paths with feed aspect 4:5–1.91:1 and Instagram Help feed sizing — see compress-image-for-instagram. Threads API image posts allow JPEG and PNG with aspect ratio up to 10:1 per Threads Posts media specs. Same megabyte ceiling on paper; different formats and geometry.

JPEG or PNG for a Threads API image post?

Both are officially supported. Prefer JPEG for photographs. Use PNG when you need crisp text or flat graphics and the file still fits comfortably under 8192 KB after compression.

What KB target should I use in Compress to KB?

Start from Threads Posts media specs 8 MB maximum (8192 KB). That is a ceiling, not a target — enter a Compress to KB budget comfortably under 8192 KB. Quality-sweep first at dimensions that already meet width 320–1440 and aspect ≤10:1; allow stepped downscale only if the quality floor still exceeds the budget.

Does this page cover Threads carousel or text-only posts?

Carousels are an API workflow with multiple media children (documented minimum two items, up to twenty images or videos) — each image child still must meet image media specs. Text-only posts have a separate 500-character limit in the same docs; this page focuses on image file size for IMAGE posts.

Sources

Explore the compress to kb topic cluster

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

Related guides

All compress to kb guides