图片压缩
以可调质量重新编码 JPG 或 WebP。输出文件可能更大,请务必比较大小。
输入
提示:按 Ctrl + Enter 运行
已保存的设置
下方的详细帮助目前仅提供英文版。
关于此工具
Image compression trades a little invisible detail for a much smaller file. This tool re-encodes your image as JPG or WebP at the quality you choose (75% is a good starting point) and shows the original and new file sizes side by side, so you can see whether it was worth it.
If an image has already been heavily compressed, re-encoding may not help or may even make it larger; in that case keep the original. For the biggest savings, combine compression with resizing to the size the image will actually be displayed at.
使用方法
- Choose an image.
- Choose WebP (smaller) or JPG (most compatible).
- Set the quality, for example 75%.
- Run it and compare the original and new sizes before downloading.
计算原理
The image is decoded and re-encoded by the browser’s JPEG or WebP encoder at quality ÷ 100. Lower quality uses coarser quantization of fine detail, which reduces file size. Dimensions are unchanged.
browser lossy encoder; no guaranteed size reduction计算示例
A blogger has a 3.2 MB JPG straight from a camera. Re-encoding as WebP at 75% gives a file of well under 1 MB with no visible difference at screen size. A 180 KB image that was already optimized by another tool comes out at a similar size, so she keeps the original.
示例输入和结果
质量 75 / 100
局限性
- Lossy formats only (JPG and WebP).
- Dimensions are not changed; use the resizer for that.
- Transparency is lost with JPG.
最后更新:
常见问题
What quality should I use?
70–80% for web photos; 85–90% if the image will be zoomed or printed.
Why did the file get larger?
The original was already compressed more strongly, or was a small PNG graphic; keep the original.
Does compression remove location data?
Re-encoding drops EXIF metadata, but use the metadata cleaner if you need to be sure.
故障排除
Visible blocks or banding.
Raise the quality to 85% or more.
WebP is not accepted by a site.
Choose JPG instead.
I need an exact size in KB.
Use the resize image to KB tool.
隐私 & 免费使用
我的输入会被保存吗?
你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。
这个工具免费吗?
是的。无需注册或付费。