Convert PCX images to PNG; transparency is preserved.
FluffyShieldProtected workspace
From
To
Loading the tool…
The tool didn't load. Reload the page, or check whether an extension or network filter blocks .
Free · No upload · No sign-up · No usage quotas
PNG options here: browser or advanced encoder; RGBA, RGB, grayscale or indexed color; 8- or 16-bit; Fast, Balanced or Maximum compression; interlacing. Which PNG settings are worth changing?
How it works
Choose PCX files
→Pick PNG, JPG or WebP
→Convert
→Download your copies
What it does
24-bit, 256-color and 16-color files
Open the layouts Paintbrush saved, from photos to EGA-era clip art.
PNG, JPG or WebP copies
Pick the output your next app opens.
Stays on your device
Your PCX files are read in your browser and never uploaded.
Limits PCX files with an alpha plane aren't read.
Found a PCX picture from the DOS days?
FluffyBench's PCX converter turns it into a PNG with every pixel just as the file stored it, or into a JPG or WebP for sharing, all on your device. Just don't count on the PNG being the smaller file.
FluffyBench · 6 min read · Measured with FluffyBench's PCX converter
What did PC Paintbrush save?
PCX files. PC Paintbrush was a drawing program from the DOS years, PCX was its own picture format, and you'll still run into it in old clip art, scans and fax-style images. A PCX saves space with run-length encoding, a bit like writing “20 white pixels” instead of listing twenty white pixels one by one. That shortcut suits flat artwork and struggles with photos, because a photo rarely repeats a color along a row.
Three IBM monitors from the years PCX files were made for.
Three IBM monitors
Photo of three IBM monitors, listed left to right on its source page as the 5151, 5153 and 5154: a monochrome display; a color display, the kind a CGA card drove; and the Enhanced Color Display, made for EGA, which shows 16 colors at a time. How we measured · Photo: phreakindee (LGR), CC0, via Wikimedia Commons.
Screens like these explain the layouts you'll find. A PCX can store full 24-bit color, or keep a small color table and give each pixel a number that picks from it: up to 256 colors, or 16 for EGA-era screens.
One patch of the Earth picture, enlarged, from the 256-color file and from the 16-color file.
256-color file
16-color file
Fewer colors in the table means coarser shading. In this 32 by 32 pixel patch, enlarged without smoothing, the 256-color file uses all 256 colors its table can hold; the 16-color file is built from four one-bit layers that pick one of 16 colors. · Photo: NASA, Public domain, NASA-created image, via Wikimedia Commons.
Which layout your file uses decides what happens to its size when it becomes a PNG.
Will the PNG copy be smaller than the PCX?
Only for some pictures. In Chrome, our 24-bit photo got about a fifth smaller as a PNG, 132.7 KB against 167.4 KB, while the 256-color picture more than doubled.
Here are our three PCX files, each next to the PNG copies FluffyBench made from it in Chrome and in Firefox.
In Chrome, the photo's PNG was 21% smaller; both palette PNGs grew
24-bit photo
PCX file167.4 KB
PNG in Chrome132.7 KB
PNG in Firefox114.0 KB
256-color picture
PCX file47.2 KB
PNG in Chrome107.1 KB
PNG in Firefox89.8 KB
16-color picture
PCX file25.8 KB
PNG in Chrome47.2 KB
PNG in Firefox33.4 KB
0255075100125150175200
File size, KB
Firefox shows the same pattern; sizes are rounded to 0.1 KB.
A palette file spends one small number on each pixel, so it starts out compact, while the PNG stores full color for every pixel. So don't expect a PNG to save space on an old palette picture. Convert when another app needs the picture, and keep the PCX if room is tight.
Does the PNG keep every pixel of the PCX?
Yes. We compared each PNG with the picture its PCX stores, pixel by pixel, and all three matched in both browsers: the photo had 0 pixels changed out of 55,296. Only the PNG's file size differs between Chrome and Firefox, because each browser brings its own PNG encoder.
That makes PNG the copy to keep. JPG and WebP shrink a file by simplifying detail, so save them for sharing.
Doing it in FluffyBench's PCX converter
It takes five steps, and the only setting to check is Size, left at Original.
Choose a PCX file, or several, with Choose images. Your original stays untouched.
On a phone, the gear button opens Settings.
Under Size, Original keeps the picture exactly as large as the PCX file stores it.
Close Settings with the gear button, then press Convert to make your copy.
The finished tile shows the PNG's size and file size. Download saves it.
Is a 256-color PCX worth the smaller file?
Only when a size limit forces it. When you save a picture as PCX, the PCX color mode setting offers 24-bit RGB, the default, or 256-color indexed. Our photo saved as 24-bit RGB reopened with 0 pixels changed. The 256-color file came out about a quarter the size of the 24-bit one, but 55,009 of its 55,296 pixels shifted slightly in color.
Here is the photo saved with each PCX color mode, next to the PNG it came from.
The 24-bit PCX came out 74% bigger than the PNG it was made from
Source PNG96.2 KB
24-bit PCX167.4 KB
256-color PCX42.4 KB
0255075100125150175200
File size, KB
Sizes are rounded to 0.1 KB.
A patch of sky from the photo, enlarged: reopened from the 24-bit PCX, and from the 256-color PCX.
24-bit PCX
256-color PCX
Compare the two blues closely to see the small steps. In this 32 by 24 pixel patch from the top-left corner of the photo, the 24-bit file's blue fades smoothly, exactly as in the photo; in the 256-color file each pixel moves to the nearest of 256 colors, a shift too small to spot without looking closely. · Photo: NPS Photo, Public domain, U.S. federal work; Public Domain Mark 1.0, via Wikimedia Commons / National Park Service.
PCX has no transparency, so nothing is lost there when you open one. When you save one, anything see-through in your picture is placed on white.
What makes the PCX converter give up on a file?
A layout it doesn't read, or a file that's been cut short. A PCX with four 8-bit planes, where the fourth carries transparency, is real but uncommon, and both browsers stopped with “This PCX pixel layout is not handled by this converter.” Our photo cut to half its size got “The PCX RLE payload is truncated.” Either way you see a message, not a half-drawn picture.
Smaller copies and neighboring formats
A PNG is the faithful copy, not the smallest one. These FluffyBench tools cover the other jobs.