Binary / ASCII / Hex / Base64 Converter

Convert plain text between ASCII values, binary, hexadecimal, and Base64 instantly in your browser.

How to Use

  1. Choose the input format you are pasting or typing.
  2. Enter your data in the source box.
  3. Review the converted outputs below for ASCII, binary, hex, Base64, and text.
  4. Use normalization options if you need grouped bytes, spacing cleanup, or uppercase hex.
Input

Source Data

Pick the format you already have, then convert it into the formats you need.

Choose the format of the source data you are entering.
ASCII mode can flag unsupported characters outside basic ASCII.
Examples: Hello, 72 101 108 108 111, 01001000 01100101, 48 65 6C 6C 6F, or SGVsbG8=
Characters
0
Bytes
0
Detected Format
Validity
Waiting

Format Hints

  • ASCII: Usually decimal byte values like 65 66 67
  • Binary: Typically grouped 8 bits per byte
  • Hex: Two hex digits per byte like 48 65 6C
  • Base64: Encoded text often ending with = padding

Conversion Behavior

Outputs should remain deterministic. Invalid source data is flagged instead of silently altered.

Converted Outputs

Each output panel can be copied independently. JS will populate these fields and validation messages.

Plain Text

Decoded text output

Text result appears here.

ASCII

Character codes output

ASCII values appear here.

Binary

8-bit grouped byte output

Binary output appears here.

Hex

Byte-oriented hexadecimal output

Hex output appears here.

Base64

Base64 encoded output

Base64 output appears here.
Show Details

Validation

Validation details will appear here.

Normalization / Parsing

Parsing notes and format details will appear here.

Reference

ASCII

ASCII maps characters to numeric codes. Example: A = 65.

Binary

Binary represents bytes using 0s and 1s. Example: A = 01000001.

Hex

Hex uses base 16 and is commonly written in bytes. Example: A = 41.

Base64

Base64 encodes binary data into text-safe characters. Example: Hello = SGVsbG8=.

Character ASCII Binary Hex
A 65 01000001 41
H 72 01001000 48
e 101 01100101 65
! 33 00100001 21

FAQ

What is the difference between ASCII and plain text?

Plain text is the readable content. ASCII is one way to represent characters as numeric codes.

Why does Base64 look longer than the original text?

Base64 expands data because it re-encodes binary bytes into a limited text-safe alphabet.

Why is grouped binary easier to read?

Grouping binary by 8 bits makes each byte visually distinct and easier to compare against hex or ASCII values.

Can this handle invalid input?

The converter should validate malformed binary, hex, ASCII lists, and Base64 so errors are visible instead of hidden.

Tool Info

Last updated:

Updates may include parsing improvements, accessibility refinements, and additional normalization options.