FFigSquash
Figma Performance Guide

How to Reduce Figma File Size & Fix 4000px+ Canvas Bloat

When a Figma file hits the 60% or 100% browser memory banner, the culprit is rarely vector paths—it is almost always oversized raster image fills pasted into small UI frames.

Why Shrinking a Layer in Figma Does Not Shrink Memory

When you paste a 4500×3000px stock photo or raw Retina full-page screenshot into a 320×200px card, Figma stores the full-resolution source bytes inside the document and decodes the image into uncompressed RGBA textures (4 bytes per pixel) in WebAssembly memory.

Source fill: 4500 × 3000 px → 4500 × 3000 × 4 bytes = 54,000,000 B (54.0 MB RGBA RAM) 2x Retina fit for 320×200 card: 640 × 400 px → 640 × 400 × 4 bytes = 1,024,000 B (1.02 MB RAM) Memory reduction from a single downsampled fill: 98.1% less RGBA RAM
Try the math on your own file: Use our free interactive Figma Canvas Bloat Calculator to plug in your source image resolution and rendered frame dimensions.

Step-by-Step: Auditing Oversized Image Fills

  1. Deduplicate by imageHash first: If one 4000px image is reused across 20 component instances, Figma stores one encoded source image—but you must check the largest rendered bounding box among all 20 instances before downsampling so no instance turns blurry.
  2. Flag 4000px+ monster fills and >1.5× target density fills: Any fill larger than 4000px on either edge, or larger than 1.5 × (maxRenderedSize × 2) for 2× Retina (ignoring tiny icons under 150 KB), is a high-ROI cleanup target.
  3. Preserve alpha transparency and crop transforms: Opaque photos can be re-encoded as high-quality JPEG, while transparent UI screenshots must stay PNG. Note that Figma's figma.createImage() API accepts PNG, JPEG, and GIF bytes—not WebP or AVIF.
  4. Never upscale and keep native Undo: Only replace a fill if the downsampled output is genuinely smaller in bytes and dimensions, and mutate via Figma's native fill API so Cmd/Ctrl + Z works cleanly.

Quick Reference: Recommended Target Fill Dimensions

UI Slot (Rendered Size) 2× Retina Target Uncompressed RGBA RAM
Avatar / Thumbnail (64×64)128×128 px0.06 MB
Product Card (320×200)640×400 px1.02 MB
Feature Split (600×400)1200×800 px3.84 MB
Hero Banner (1440×720)2880×1440 px16.59 MB

Automate the Entire Audit with FigSquash

FigSquash's Canvas Bloat Auditor runs 100% locally inside Figma. The Free tier gives you a complete page/selection health scan with exact wasted MB and 1-click Zoom to Layer. Pro ($19 one-time) and Team ($59 one-time) unlock the 1-Click Canvas Bloat Downsampler (1x/2x/3x) plus unlimited batch WebP/AVIF/PNG/JPG/SVG exports.

Need to compress exported assets right now? Jump to our Free Batch WebP Compressor or read our Figma WebP & AVIF Export Guide.

Squash Canvas Bloat in 1 Click — $19 Once

Zero cloud uploads. Native Cmd/Ctrl+Z undo. Offline Ed25519 license verification.