EditSafely

Convert WebP to Hex Codes

Dump every pixel of a WebP image as a #rrggbb hex color code. Runs entirely in your browser, so your data never leaves your device.

Input

Drop a file here, or click to browse

Files never leave your device

Output

The result appears here as you type.

How to use Convert WebP to Hex Codes

  1. 1. Load the WebP to dump. Drop or browse for the WebP image whose pixels you want as text. Very large images produce very long output, so small icons or crops work best.
  2. 2. Review the pixel dump. The output lists the image's dimensions followed by every pixel's color as a #rrggbb hex code, row by row, giving a complete text representation of the picture.
  3. 3. Copy the hex codes. Copy the full list and paste it into a script, spreadsheet or another tool that needs the raw per-pixel color data as plain text.

When to use Convert WebP to Hex Codes

Convert WebP to Hex Codes dumps every pixel of an image as a plain #rrggbb color code, turning a picture into a text list a script can parse. It suits small images or crops where the exact color of every pixel matters.

  • Feeding pixel data into a script. A developer testing a color processing function needs the exact hex value of every pixel in a tiny test image, which this tool provides as a ready-to-parse text dump.
  • Verifying an image generator's output. A tool that programmatically builds images needs its output checked pixel by pixel, and dumping the hex codes gives an exact list to compare against expected values.
  • Reconstructing a palette from a tiny icon. A small icon uses only a handful of colors, and dumping every pixel as hex quickly reveals the full palette without manually sampling each one with a color picker.

Examples

Read the pixels

Input

tiny.webp

Output

# 2×1
#ff0000 #0000ff

About the Convert WebP to Hex Codes tool

Convert WebP to Hex Codes is a free online tool that works entirely inside your web browser. Dump every pixel of a WebP image as a #rrggbb hex color code. Because the processing happens on your own device, nothing you enter is uploaded, logged or stored anywhere.

This page is one of 57 WebP utilities on EditSafely. Each one does a single job well, and all of them follow the same rule: your input stays on your machine.

There is nothing to configure. Provide the input and the result appears on its own. A worked example further down the page shows exactly what the tool produces for a real input.

Because nothing leaves your device, the tool is suitable for sensitive content such as internal documents, credentials or customer data. It also responds instantly, since every keystroke is handled on your own machine rather than by a remote API.

Frequently asked questions

Does Convert WebP to Hex Codes cost anything?

Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.

Are my files uploaded to a server?

No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.

Which files does Convert WebP to Hex Codes accept?

It accepts WebP images. There is no file size cap imposed by a server; very large files are limited only by your device's memory.

Do I need to sign up or install anything?

Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.

How do I use the result?

The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.

Related tools

All WebP Tools