MicroHai
All Dev & Code Text & Formatting Media & Image Security & Crypto Utilities & Everyday

String ⇄ Hex / Binary / Octal / Decimal

Dev & Code

Bidirectional UTF-8 string to Base 16/2/8/10 converter with 0x/0b/0o prefix, spacing & uppercase options

Target Base:
22 bytes (UTF-8)
UTF-8 Text (Editable)
Encoded Output (Editable — edit to decode back)

About String ⇄ Hex / Binary / Octal / Decimal

Convert UTF-8 strings to Hexadecimal, Binary, Octal, or Decimal bytes and edit either side to decode back. Toggle 0x/0b/0o prefix, space separation, and UPPERCASE formatting.

Key Features

  • Bidirectional live editing: edit text to encode or edit Hex/Binary to decode back to UTF-8
  • Supports Hex (Base 16), Binary (Base 2), Octal (Base 8), and Decimal (Base 10)
  • Toggle 0x / 0b / 0o prefix, space separation, and UPPERCASE/lowercase hex letters

How to Use

  1. 1 Choose target base (Hex, Binary, Octal, or Decimal) and toggle prefix, spaces, or uppercase.
  2. 2 Type in either the left UTF-8 text box or the right encoded box to convert in real time.