Encoding tools

Text to Binary / Hex

Convert text to UTF-8 (Unicode Transformation Format) bytes and back.

Runs locally

Direction

  • Encode: turn text into UTF-8 (Unicode Transformation Format, 8-bit) bytes. For example, A becomes 41 in Hex.
  • Decode: turn byte groups back into text. For example, 41 in Hex becomes A. Invalid text bytes produce an error.

Format

  • Hex (hexadecimal): two digits per byte, using 0–9 and A–F. Example: 41 represents A.
  • Binary: eight bits per byte, using 0 and 1. Example: 01000001 represents A.
  • When decoding, spaces between complete byte groups are optional.
Input: up to 1 MB. Output: up to 2 MB. Files stay in your browser.
Guide

Convert text into the bytes used to store it, written as binary or hexadecimal, or turn those bytes back into text. This helps explain why a character such as an emoji can require several bytes.

  1. Add your input

    Type or paste into Input, choose an example or use Open file.

  2. Choose the options

    Use the controls above the fields. The question-mark buttons explain unfamiliar choices.

  3. Read and keep the result

    Output updates automatically. Copy output or Download keeps the result.

On mobile, choose Output to read the result. Clear removes both fields.

Direction

  • Encode: turn text into UTF-8 (Unicode Transformation Format, 8-bit) bytes. For example, A becomes 41 in Hex.
  • Decode: turn byte groups back into text. For example, 41 in Hex becomes A. Invalid text bytes produce an error.

Format

  • Hex (hexadecimal): two digits per byte, using 0–9 and A–F. Example: 41 represents A.
  • Binary: eight bits per byte, using 0 and 1. Example: 01000001 represents A.
  • When decoding, spaces between complete byte groups are optional.
Shortcuts
  • Ctrl / Cmd + Enter — Run selected action
  • Ctrl / Cmd + Shift + C — Copy output
  • Ctrl / Cmd + S — Download output
  • ? — Show shortcuts outside text fields

Shortcuts work while focus is in the workspace. Copy and download need valid output.

Common questions
What does this tool support?
UTF-8 (Unicode Transformation Format) represents characters as bytes. Binary needs eight bits per byte; Hex needs two digits. Complete groups may be joined or separated by whitespace. Invalid bytes are rejected. Encoded output may hit the 2 MB limit before input reaches 1 MB.
Is my content saved or uploaded?
No. Only your non-sensitive settings are remembered. Input, output, image data and filenames stay out of storage and statistics.
What happens with a large result?
The displayed text is a limited preview above 200,000 characters. Download retains the complete result; copying is limited to 2 MB. A protective limit produces an error, never a silently shortened download.

Was this tool helpful?

Only your rating and optional feedback are sent. Your tool input and output are never included.