inyourbrowser.com

Compress Image for Discord

Discord limits file uploads to 8 MB for standard accounts and 500 MB for Nitro. Compress your image here to stay under the limit while keeping it looking good. Runs entirely in your browser.

Drop an image or click to choose

JPG, PNG, or WebP, up to 50 MB. Stays in your browser.

TARGET SIZE

~7500 KB

Stays under Discord's 8 MB limit

FORMAT

QUALITY

Quality is set automatically to reach the target size.

Runs entirely in your browser

How it works

The image is decoded into a Canvas in your browser, then exported with ctx.canvas.toBlob() at the quality level that brings the file just under the 8 MB chat upload ceiling. Quality is tuned with a binary search so the result stays as crisp as possible while still slipping under the limit. The compressed JPEG downloads to your device, ready to drag straight into a chat channel.

Processing runs in your browser

Memes, screenshots, and personal photos destined for Discord stay on your machine while the size reduction happens. The Canvas API handles encoding inside this tab, so the only place the compressed image lives, before you drag it into a channel, is your downloads folder. You can confirm this yourselfin your browser's DevTools Network tab.

Related operations

If you need a different file format after compressing, try the image converter. To trim images to a specific aspect ratio first, use image crop. For multi-image PDFs from compressed photos, see image to PDF.

Frequently asked questions

What is Discord's file size limit?
Standard Discord accounts can upload files up to 8 MB. Nitro users get 500 MB. Images over 8 MB will be rejected unless you compress them first.
Should I use JPEG or PNG for Discord?
JPEG produces smaller files and is better for photos. PNG is lossless and better for screenshots or images with sharp edges and text. For most photos shared in Discord, JPEG at medium quality gives the best size-to-quality ratio.
Does Discord re-compress images I upload?
Yes. Discord re-compresses images it displays inline. Compressing before uploading gives you control over the quality, whereas Discord's auto-compression is aggressive and unpredictable.
Is my image uploaded to a server?
All compression happens locally in your browser using the Canvas API.

Related tools

Resize image
Scale to any size or use platform presets. Instagram, LinkedIn, WhatsApp and more.
Convert image
Convert between JPEG, PNG, and WebP formats. Lossless or quality-controlled.
Rotate & flip
Rotate images 90°, 180°, 270° or flip horizontally. Download as PNG.
Image to Base64
Convert any image to a Base64 data URI. Copy directly into HTML, CSS, or JSON.