Text to Hex / Hex to Text
Convert text into hexadecimal bytes (UTF-8) and hex back into readable text.
Tool inputs stay in your browser · optional AI search sends your query
Good to know: Hex shows each byte as two characters 00–FF. Letters like ñ or emoji use 2–4 bytes in UTF-8.
How to use it (step by step)
- 1Type or paste your text into the “Text or hex” box. There is already an example in it so you can see how it works; press Clear to start with your own.
- 2Choose your settings: “Direction”, “Hex format”, “Letters”.
- 3The answer appears right away in the “Result” box. No button needed.
- 4Press Copy and paste the result wherever you need it.
Words to know
- Hex / binary
- Other ways of writing numbers. Binary uses only 0 and 1; hex uses 0–9 and A–F.
- Unicode / UTF-8
- Unicode gives every character (A, ñ, ₱, 😀) a number. UTF-8 is how those numbers are stored as bytes.
- Byte
- The basic unit of computer storage. One basic letter = 1 byte in UTF-8; ñ = 2 bytes; most emoji = 4 bytes.
More in Developer
Basic Auth Header Generator & DecoderMake the “Authorization: Basic …” header from a username and password, or decode an existing one.Chmod Calculator (Linux File Permissions)Turn permissions like 755 into rwxr-xr-x (and back) and see in plain words who can read, write and run a file.Nginx Config GeneratorCreate an Nginx server block for a reverse proxy (Node, Next.js), static site or single-page app, with HTTPS and gzip.Dockerfile GeneratorMake a production-ready Dockerfile for Node.js, Next.js, Python, Go or a static site, plus a .dockerignore.Security Headers Generator (CSP, HSTS)Generate HTTP security headers (Content-Security-Policy, HSTS, X-Frame-Options…) for Nginx, Apache, Next.js or Cloudflare.Sitemap XML GeneratorPaste a list of page URLs and get a valid sitemap.xml to submit to Google Search Console and Bing.