ToolboxToolbox
πŸ”
← All guides

Compressing images on Telegram: why the picker fails and what to do

Telegram shows a 50 MB file limit but still compresses photos. Here is how its built-in browser breaks the file picker, and how to batch-compress images before sending.

The short version

Sending photos through Telegram compresses them, and trying to run a web-based image tool inside Telegram often fails in a very specific way: the picker opens, you select a photo, you tap confirm, and nothing happens. The first is intentional. The second is a bug in Telegram's built-in browser. They need different fixes.

1. Does Telegram compress photos?

Telegram allows files up to 2 GB, but that limit applies to files sent asfiles. When you send something as a photo, it re-encodes it and caps the long edge at roughly 1280 px. That is a bandwidth decision, not a bug.

To keep the original, send it as a file (paperclip icon β†’ File). Or compress it yourself first, which is usually better: you decide how much quality to trade away instead of letting Telegram decide for you.

2. Why the file picker fails inside Telegram

The Android build of Telegram renders web pages in its own WebView. Since 2023 that WebView has had a bug with<input type="file">: the picker opens, selection works, but the page receives an empty file list.

No web page can work around this. The failure happens inside Telegram's process; the page just gets an empty result with no error and no event.

What a page can do is detect the environment and tell you to switch. Every image tool on this site does that: opened inside Telegram, it shows a notice with a button that hands the URL to your system browser.

3. The right order: compress first, then send

  • Resize the long edge to 1280–1600 px. Anything larger gets downscaled by Telegram anyway.
  • Process a whole folder at once instead of one file at a time; batch tools can export a single ZIP.
  • Send the result as a file, so Telegram does not recompress what you just tuned.

4. Why "nothing is uploaded" matters

Most online compressors work by uploading your images to a server, compressing them there, and sending them back. Your photos therefore pass through a machine you do not control. For product shots, ID photos or anything personal, that is an avoidable risk.

The tools here compress with Canvas in your own browser. Unplug the network and compression still runs β€” which is both the privacy guarantee and the proof that nothing was uploaded.

5. Common questions

Still blurry after compressing? Quality and dimensions are separate knobs. Going from 4000 px to 1280 px looks soft because of the scaling, not the encoder. Keep the long edge larger if you need detail.

Why does my iPhone photo fail? iPhones store HEIC by default and browsers generally cannot decode it. Export to JPG in the Photos app first.

How many images at once? There is no server-side limit β€” only your device memory. A few hundred on a mid-range Android phone is usually fine.

Try it without uploading

All tools run in your browser. Files never leave your device.