Select or drag a local image file. File bytes are available directly without decoding the image.
Convert Images to Bytes and Byte Arrays
Turn a local image into original file bytes or decoded RGB / RGBA pixel bytes, then format the result as a byte array, Uint8Array, hex, or Buffer.
Image → byte array Uint8Array Hex bytes Node.js Buffer RGB / RGBA pixels Local only
Output
Waiting for image
Byte output
Image bytes will appear here
Select an image, then choose original file bytes or decoded RGB / RGBA pixels and format them as a byte array, Uint8Array, hex, or Buffer.
File bytes RGB / RGBA pixels Private processing
How it works
Convert an image file into reusable byte representations
Keep the original encoded bytes, or decode the image locally into RGB or RGBA pixel-channel bytes.
Switch between byte array, Uint8Array, hex and Buffer representations. Large outputs stay compact in the on-screen preview.
Need to reconstruct the image again? Use the paired Bytes to Image tool from the switch control above.
