I made a simple PNG to WebP converter that can shrink 10 MB images to around 100 KB.

I made a simple PNG → WebP converter that can shrink something like a 2 MB PNG down to ~70 KB (sometimes even smaller), while keeping the picture looking almost the same.

GitHub repo:
https://github.com/DNZYDeniz/png-to-webp-windows

I built it becaus…


This content originally appeared on DEV Community and was authored by DNZY

I made a simple PNG → WebP converter that can shrink something like a 2 MB PNG down to ~70 KB (sometimes even smaller), while keeping the picture looking almost the same.

GitHub repo:
https://github.com/DNZYDeniz/png-to-webp-windows

I built it because I wanted something very simple that doesn’t need a complicated setup: put PNGs in input, run the batch file, and get WebP files in converted.

Two ways to use it

Classic batch / CMD — Double-click convert_png_to_webp.bat. Plain command window, no extra installs if cwebp is already in the project. Same fast, lightweight flow as before.
Optional desktop GUI — Run run_gui.bat for a cleaner, rounded interface (Python + CustomTkinter). Same encoder under the hood; it’s there if you want something more visual. Size and quality are easier to tweak in the GUI (target KB per file, or fixed quality -q), without editing environment variables.
It’s lightweight, fast, and easy — for anyone who wants smaller images without wrestling with heavy tools.

Features

Simple .bat workflow (no GUI required)
Optional modern GUI for quicker size / quality adjustments
Fast conversion
Strong file-size reduction with minimal visible quality loss
Runs locally on your machine
Try it:
https://github.com/DNZYDeniz/png-to-webp-windows


This content originally appeared on DEV Community and was authored by DNZY


Print Share Comment Cite Upload Translate Updates
APA

DNZY | Sciencx (2026-03-27T22:07:41+00:00) I made a simple PNG to WebP converter that can shrink 10 MB images to around 100 KB.. Retrieved from https://www.scien.cx/2026/03/27/i-made-a-simple-png-to-webp-converter-that-can-shrink-10-mb-images-to-around-100-kb/

MLA
" » I made a simple PNG to WebP converter that can shrink 10 MB images to around 100 KB.." DNZY | Sciencx - Friday March 27, 2026, https://www.scien.cx/2026/03/27/i-made-a-simple-png-to-webp-converter-that-can-shrink-10-mb-images-to-around-100-kb/
HARVARD
DNZY | Sciencx Friday March 27, 2026 » I made a simple PNG to WebP converter that can shrink 10 MB images to around 100 KB.., viewed ,<https://www.scien.cx/2026/03/27/i-made-a-simple-png-to-webp-converter-that-can-shrink-10-mb-images-to-around-100-kb/>
VANCOUVER
DNZY | Sciencx - » I made a simple PNG to WebP converter that can shrink 10 MB images to around 100 KB.. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2026/03/27/i-made-a-simple-png-to-webp-converter-that-can-shrink-10-mb-images-to-around-100-kb/
CHICAGO
" » I made a simple PNG to WebP converter that can shrink 10 MB images to around 100 KB.." DNZY | Sciencx - Accessed . https://www.scien.cx/2026/03/27/i-made-a-simple-png-to-webp-converter-that-can-shrink-10-mb-images-to-around-100-kb/
IEEE
" » I made a simple PNG to WebP converter that can shrink 10 MB images to around 100 KB.." DNZY | Sciencx [Online]. Available: https://www.scien.cx/2026/03/27/i-made-a-simple-png-to-webp-converter-that-can-shrink-10-mb-images-to-around-100-kb/. [Accessed: ]
rf:citation
» I made a simple PNG to WebP converter that can shrink 10 MB images to around 100 KB. | DNZY | Sciencx | https://www.scien.cx/2026/03/27/i-made-a-simple-png-to-webp-converter-that-can-shrink-10-mb-images-to-around-100-kb/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.