webdev_hex_viewer
Inspect raw bytes of data by producing a hex dump with offset, hex bytes, ASCII gutter, plus byte statistics, frequency distribution, and file type hint. Accepts text, hex string, or base64 input.
Instructions
Hex Viewer And Binary Analyzer. Produce a hex dump (8-digit offset column, hex bytes, ASCII gutter) of input supplied as plaintext, a hex string, or Base64, plus byte statistics, a byte-frequency distribution, and a magic-byte file-type hint. Use this to inspect or analyze the raw bytes of arbitrary data; use webdev_base64_image_encoder instead to turn an image into a Base64 data URI, or an encoding_decoding tool to convert between encodings. Runs locally on the data you provide: read-only, non-destructive, contacts no external service, and is rate-limited (30 requests/minute for anonymous callers). Returns the rendered hexDump string, totalBytes and related statistics, byteDistribution, and fileTypeHint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputData | No | The data to dump, interpreted according to inputMethod. Blank input yields an empty dump. | |
| inputMethod | No | How inputData is decoded into bytes: text (UTF-8 encode), hex (paired hex digits, even length required), or base64. | text |
| displayOptions | No | Optional rendering settings for the hex dump. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Whether processing succeeded. | |
| bytes | No | The decoded byte values as integers (0-255). | |
| hexDump | No | The rendered multi-line hex dump (empty when no input). | |
| fileTypeHint | No | Best-guess data type from magic bytes/entropy, or Unknown. | |
| statistics | No | Per-byte counts and Shannon entropy, or null when input is empty. | |
| byteDistribution | No | Byte-frequency table sorted by descending count (empty when no input). |