Skip to content
YAS.SH
Developer🔒 Browser (client-side)API available📴 Works offlineintermediate

Hex Dump Viewer

Formats text and binary byte sequences into a canonical hex dump with memory offsets, hex bytes, and printable ASCII characters.

Data stays in your browser
Ready to runInstant execution
All tools →
Result

What does this tool do?

Formats text and binary byte sequences into a canonical hex dump with memory offsets, hex bytes, and printable ASCII characters.

Why would I use it?

  • You are inspecting binary file headers, magic bytes (PNG, PDF, ELF), or network packet payloads.
  • You need to detect hidden non-printable or zero-width characters in text.
  • You are debugging low-level protocol encodings and byte alignments.

Real-life example

Input
Hello World!
Output
00000000: 48 65 6c 6c 6f 20 57 6f  72 6c 64 21        |Hello World!|

Displays byte offset, 16 hex octets per line, and ASCII representation.

Input → Process → Output → Next

Input
Paste text or binary byte string.
Process
Segments bytes into 16-byte chunks, renders hexadecimal values, and maps ASCII characters.
Output
Monospaced hex dump table.
Next action
Inspect magic headers, byte boundaries, and control characters.

Common mistakes

  • Assuming all non-printable bytes are spaces (they render as dots '.' in ASCII column).
  • Confusing big-endian vs little-endian byte ordering in multi-byte integers.
  • Editing hex values without recalculating lengths.

What the result means

A transparent view into the raw binary bytes representing digital data.

Privacy & security

Your input is processed entirely in your browser and never sent to a YAS server.

API

Endpoint
POST https://yas.sh/api/v1/tools/hex-viewer
Request Header
Content-Type: application/json
cURL
curl -X POST "https://yas.sh/api/v1/tools/hex-viewer" \
  -H "Content-Type: application/json" \
  -d '{"input":"Hello World!"}'
JavaScript
const res = await fetch("https://yas.sh/api/v1/tools/hex-viewer", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "input": "Hello World!"
}),
});
const data = await res.json();
Python
import requests

r = requests.post("https://yas.sh/api/v1/tools/hex-viewer", json={"input":"Hello World!"})
data = r.json()
FieldTypeRequiredDescription
inputstringYesInput string
Success response
{ "slug": "hex-viewer", "bytes": 12, "hexDump": "00000000: 48 65 6c 6c 6f 20 57 6f  72 6c 64 21        |Hello World!|" }

Format text and binary into canonical hex dump with ASCII column.

Error responses
  • 400 VALIDATION_ERROR — invalid input or unsupported option.
  • 413 PAYLOAD_TOO_LARGE — input exceeds the 64 KB limit.
  • 429 RATE_LIMIT_EXCEEDED — rate limit exceeded (60 req/min).
Limits
  • Maximum input: 64 KB per request.
  • Rate limit: 60 requests/min per IP address.
  • Authenticated accounts benefit from higher tier quotas.
Ask YAS AI
🍪 Cookies & privacy. Essential cookies keep you signed in and remember language and theme. Google AdSense and reCAPTCHA are Google technologies: AdSense runs only after Accept All; reCAPTCHA loads on sign-in and contact forms. See how Google uses data: https://policies.google.com/technologies/partner-sites cookie policy · privacy policy.
Settings