JPG to RAW Converter
Turn a JPG into uncompressed raw pixel bytes (RGBA or RGB) and download a .raw file — entirely in your browser.
JPG to RAW Converter
🔒 Decoded in your browser — nothing is uploaded. Output is uncompressed raw pixel bytes (not a camera RAW/DNG file).
🔒 Nothing you enter is sent anywhere or stored. All processing happens in your browser.
How it works
A RAW image file here means the uncompressed pixel data of your image — every pixel written out as bytes, with no PNG/JPEG compression or headers. It's what game engines, graphics tools, and low-level image pipelines sometimes need to load textures or process pixels directly.
Drop in your image and the tool draws it to a canvas, reads the pixels, and lets you download them as a .raw file in either RGBA (four bytes per pixel, including transparency) or RGB (three bytes per pixel). The byte length is exactly width × height × channels, so a 100×100 RGBA image is 40,000 bytes.
Everything runs in your browser — the image is never uploaded. Note this produces raw pixel data; it is not the same as a camera RAW/DNG format, which stores unprocessed sensor data.
Examples
Raw pixel formats & file size
A raw pixel file stores every pixel as bytes in order, top-left to bottom-right, with no header or compression. The size is fully predictable from the dimensions and the format:
| Format | Bytes per pixel | Channels | Size for 100×100 |
|---|---|---|---|
| RGBA | 4 | Red, Green, Blue, Alpha | 40,000 bytes |
| RGB | 3 | Red, Green, Blue | 30,000 bytes |
| Grayscale | 1 | Luminance only | 10,000 bytes |
Size = width × height × bytes-per-pixel. This tool outputs RGBA or RGB, 8 bits per channel, in row-major order — the layout most engines and image libraries expect when you tell them the width, height and format.
Raw pixel data vs camera RAW
These are different things. Camera RAW (CR2, NEF, ARW, DNG) stores unprocessed sensor data plus metadata and needs special software to open. Raw pixel data (what this tool makes) is just the finished pixels as bytes — there's no header, so whatever reads it must be told the width, height and channel order.