EIT easy-image-tools / List image pixels as hex values

List image pixels as hex values

Shows all pixels as rrggbbaa hex values — row by row, space separated.

01

List image pixels as hex values

Nothing found — try another word.

This tool has no parameters — the result is ready as is.

Preview
Source
Drop a PNG here or click / paste (Ctrl+V) — processed locally
Result
no result yet

List image pixels as hex values prints every pixel as eight hexadecimal characters — rrggbbaa, two digits each for red, green, blue and alpha — one image row per line. That is the notation you meet wherever a color is written as a constant: a palette in a design tool, a sprite definition in an engine, a fill value in a canvas script or a snippet in a shader, where a color usually appears as 0xrrggbbaa. Because the alpha byte is included, a transparent corner shows up as 00 in the last two characters instead of disappearing. What you read is the decoded picture — there is no quality setting and nothing to choose.

  • Decoded entirely in your browser: no upload, no server, no signup.
  • Every pixel is one rrggbbaa token; one image row per line.
  • ff in the last position is opaque, 00 fully transparent.
  • The hex to PNG tool reproduces every pixel exactly from this list.
  • Meant for small graphics: a 256 by 256 photo is 65536 tokens.
  • Free with no daily limit, no watermark and no account, also for commercial use.

How to use it

  1. Drop the image into the source area, or pick a file from your device.
  2. Read the rrggbbaa values in the result panel, one image row per line.
  3. Press the copy button to put the whole list on the clipboard.
  4. Paste it into a canvas script or a sprite table.

Questions

What does each group of two characters mean?

Red, green, blue, then alpha. ff in the last position is fully opaque, 00 fully transparent: ff0000ff is visible red, ff000000 is not.

How do I read one specific pixel?

Count along a line: each token is one pixel and each line is one row. The first token of the first line is the top-left pixel.

Will a large image fit in the result panel?

A 64 by 64 sprite is 4096 tokens and a 256 by 256 photo is 65536, so this is meant for small graphics. Resize first if it is large.

Is the round trip lossless?

In pixel values, yes: feeding the list back into the hex to PNG tool reproduces every pixel exactly. The re-encoded file bytes are not promised to match.

Related tools