Security

Hex to Base64 Converter — Base64 to Hex Online

Convert hex strings to Base64 and Base64 back to hex. Accepts spaces, 0x prefixes, and commas.

Server Processing What you type or paste is sent over HTTPS to our server to work out the answer. It is not saved. Web addresses you enter are visited by our server.

What is Hex ↔ Base64 Converter?

Hex ↔ Base64 Converter is a free online tool that converts hexadecimal strings to Base64 and Base64 back to hex. It accepts spaces, newlines, commas and 0x prefixes, so you can paste raw dumps directly.

Convert hex strings to Base64 and back online. Flexible input for packet dumps and keys — free Hex ↔ Base64 converter on Fah Swe Tools.

Key features

  • Hex → Base64 and Base64 → Hex
  • Flexible hex input (spaces, 0x, commas)
  • Uppercase or spaced hex output
  • Free; inputs are not stored

Popular uses

  • Convert encryption keys between formats
  • Decode packet and binary dumps
  • Prepare values for APIs and certificates

Also known as: Hex to Base64, Base64 to Hex, Hex Converter.

How it works

  1. Choose Hex → Base64 or Base64 → Hex.
  2. Paste your hex or Base64 (spaces, newlines, commas, and 0x prefixes are fine for hex).
  3. Optionally enable uppercase or spaced hex output, then run and copy the result.

FAQ

What if my hex has an odd number of digits?

We show a clear error — odd nibble counts are not padded automatically, so you can fix the input.

Is this for text Base64?

This converts raw bytes between hex and Base64. For UTF-8 text encode/decode, use Base64 Encode/Decode.

Are inputs stored?

No — conversion runs in memory for the request and is not saved.

What is hexadecimal?

A base-16 number system (0–9, A–F) often used to show bytes; two hex digits equal one byte.

Why convert hex to Base64?

Base64 is shorter than hex for the same bytes and is common in APIs and JSON.

↑↓ move Enter open CtrlK search anywhere

Add Fah Swe Tools to your Home Screen

  1. Tap the Share button in your browser.
  2. Scroll and choose “Add to Home Screen”.
  3. Tap “Add”. Fah Swe Tools then opens full screen from your Home Screen.