ToolEmpire

Text Encoding Converter

Convert text to hex, octal, decimal, Base64, UTF-16LE, or UTF-32LE — and back.

Inputs

Results

// to-code · hex · 0 bytes → 0 chars

About this tool

Convert text to hex, octal, decimal, Base64, UTF-16LE, or UTF-32LE — and back. Emoji and surrogate pairs round-trip correctly. Runs in your browser.

How to use

  1. 1Paste your text into the Input field, or paste hex/escape/Base64 data when going Code → text.
  2. 2Choose Text → code or Code → text in the Direction field.
  3. 3Pick an Encoding: UTF-8 hex, UTF-16LE hex, UTF-32LE hex, Octal, Decimal, or Base64.
  4. 4Copy the result, then flip Direction and paste it back to verify a round-trip.

Frequently asked questions

Related tools