Text ⇄ binary / hex / octal

See text as its UTF-8 bytes in binary, hex, or octal — and decode digit strings back to text with strict UTF-8 validation.

Direction
Base

Converted in this browser. Nothing is sent anywhere.

Text is UTF-8 encoded before conversion, so non-ASCII characters become several digits groups. Digit input may be space-separated groups or a contiguous string. Decoding rejects bytes that are not valid UTF-8.

How to use

  1. Enter text or a digit string.
  2. Pick the direction and the base.
  3. Convert and copy the result.

What it supports

Digit input may be spaced groups or contiguous. Decoding rejects bytes that are not valid UTF-8 rather than printing. Up to 100,000 characters of text.

Related tools

Related guides