Toolshub
壓縮 · 在瀏覽器中執行

把圖片壓到指定檔案大小

輸入你必須符合的位元組上限,頁面在畫質與像素寬度之間反覆搜尋,直到編碼結果正好落進上限;全程在瀏覽器裡,不上傳。

$35 買斷 · 免費上限每檔案 25 MB· 每天 5 次免費

檔案
未選擇檔案

填你必須符合的上限——表單限制、上傳上限——而不是畫質設定。

在本分頁內執行,不上傳任何內容。

結果

免費方案:每檔案最多 25 MB,每次 3 個檔案,每天 5 次。這件工具單件買斷 $35,一次付款。比較價格。

正在使用免費額度。這件工具的買斷是一次付款,不是訂閱。

這頁與別處不同之處

表單要求不超過 2 MB、上傳端點卡在 500 KB——真正要符合的是一個位元組數,不是某個畫質等級。這個頁面依你給的位元組上限做二分搜尋,在畫質與像素寬度之間找到最能守住細節的組合,並把結果壓進上限之內。編碼在本地完成,檔案不離開分頁。

依位元組上限而不是畫質等級運作,並在結果裡說明為了達標犧牲了什麼。

範例輸入與輸出

環節 情形 體積 說明
輸入 8.4 MB 手機照片 8.0 MB 4032 by 3024 JPEG taken on a phone, the usual shape of an upload that gets rejected
輸出 壓在 2 MB 上限下的 1.9 MB 結果 1.8 MB same framing, resampled to about 2560 px wide, quality settled near 0.72

這裡寫的是本頁建置時對照的示範數字,不是對每個檔案的承諾。

你可以自己核對什麼

承諾 測試結果
200 KB 的上限會落在 1% 以內,而不是遠遠壓過頭。 7.6 MB 的雜訊 PNG 在 200 KB 目標下輸出 204,647 位元組,在 500 KB 目標下輸出 506,107 位元組,深測實測。
縮小的同時,畫面比例保持不變。 4:3 照片壓到 200 KB 後輸出 1085×814 像素,比例在縮放中保留,沒有被擠扁。

常見問題

以下問答目前仍為英文原文。

Does the photo get uploaded anywhere?

No. The file is decoded with the browser image decoder and re-encoded on a canvas in this tab. There is no upload endpoint on this site at all.

Why is the result size not exactly the number I typed?

Encoding is not perfectly predictable, so the page stops at the highest quality that still lands under your ceiling. Expect a few percent below it, never above.

What happens when the ceiling is impossible?

If even the lowest quality at the smallest allowed width cannot fit, the page tells you the smallest size it could reach instead of silently returning a file that fails your limit.

Is the original file modified?

No. The page only reads it and hands back a new file. Your original stays exactly as it was on disk, so you can retry with a different ceiling.

What are the free limits?

Free runs take files up to 25 MB, three at a time, five runs a day. A buyout removes the daily count and raises the batch size; a site-wide yearly pass raises it further.

價格

這件工具一次性 $35,只要工具還在就一直可用。一次付款,不是訂閱。授權存在目前瀏覽器裡,憑交易編號可在別處還原。

免費方案:每次 3 個檔案,每檔案 25 MB,每天 5 次。買斷:50 個檔案,每檔案 200 MB。

相關工具