inyourbrowser.com

Compress Image for Discord

Discord's upload limit is 10 MB for free accounts, 50 MB with Nitro Basic and 500 MB with Nitro. This page compresses your image to about 7.5 MB, under the free limit with room to spare, 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. Runs in your browser.

TARGET SIZE

~7500 KB

Stays under Discord's 10 MB free limit

FORMAT

QUALITY –

Quality is set automatically to reach the target size. Large photos may also be scaled down.

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 that brings the file to about 7.5 MB, under the 10 MB free upload limit. Quality is tuned with a binary search so the result stays as crisp as possible while still slipping under the limit. The compressed JPEG or WebP downloads to your device, ready to drag straight into a chat channel.

Processing runs in your browser

The size reduction for memes, screenshots, and photos destined for Discord runs in your browser. 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 yourself in 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?
Free Discord accounts can upload files up to 10 MB, Nitro Basic up to 50 MB and Nitro up to 500 MB. This page aims for about 7.5 MB so the file fits the free limit.
Should I use JPEG or PNG for Discord?
JPEG produces smaller files and is better for photos. PNG is lossless and suits screenshots or images with sharp edges and text, but its size cannot be tuned to a target, so this page offers JPG and WebP and picks the highest quality that fits under the limit, scaling very large photos down if needed.
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.
Does the image pass through any service while it is compressed?
Compression runs in your browser with the Canvas API; the image reaches Discord only when you upload the downloaded file yourself. Our servers are not involved at any point.

Last reviewed September 30, 2026

Other pages for this tool

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.
Image to Base64
Convert any image to a Base64 data URI. Copy directly into HTML, CSS, or JSON.
Compress PDF
Reduce PDF file size in your browser. Lossless optimisation or image re-rendering.
Image to PDF
Convert JPG, PNG, WebP, or GIF images to a PDF. Add multiple images, reorder, download instantly.