Add a Sun Raster .ras file and get a PNG with every pixel, and every color, where it belongs.
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
Your browser reads the Sun Raster header
→Each pixel's colors are put in order
→The pixels are saved as a PNG
What it does
Packed files too
Sun Raster files squeezed with Sun's own run-length packing open like plain ones.
Changed pixels in our packed Earth's PNG: 0 of 50,176 pixels changed
256-color files
A 256-color file carries its own list of colors, and every pixel is drawn from it, so the picture keeps the colors it was saved with.
Limits A Sun Raster with 16-bit color, or one cut short, is refused; so is a color list stored in Sun's rare raw form.
Will a Sun Raster file keep its colors as a PNG?
Yes, whichever of Sun's two color orders the file uses.
FluffyBench · 3 min read · Measured to November 13, 2026, on a Sun Raster photo saved both ways
Will the colors come out right?
Sun Raster was the picture format of Sun's Unix workstations, and .ras files still turn up in old screenshots, icons and image archives. Turning one into a PNG with every color right comes down to reading its pixels the right way round.
A full-color Sun Raster usually stores each pixel blue first, then green, then red, the reverse of the order most formats use. Sun later added a second kind that stores red first, and a number in the header says which kind a file is. A reader that ignores it swaps red and blue in one kind or the other, so a blue sky comes out orange.
FluffyBench reads that number and puts each color where it belongs. We saved one photo of Lassen Peak both ways, and the two files gave one and the same PNG, with 0 pixels changed out of 55,296 pixels against the original photo.
Converting a .ras, or a folder of them
Open your .ras with Choose images. A whole folder of them works the same way.
Press Convert 1 to PNG; with several files the button counts them.
Download the PNG with the arrow on its card.
Does the picture need to be exact, or just small?
The pictures are photos going into an email or a web page.