Base Encoder

Encode or decode Base64, hex, and more.

How to use this tool

Steps

  1. Identify whether the source is plain UTF-8 text, Base64, or hexadecimal before choosing a direction.
  2. Paste a small known sample and convert it once.
  3. Reverse the conversion and compare the recovered text or bytes with the original.
  4. When using the result in another system, confirm its alphabet, padding, byte encoding, and expectations for line breaks or prefixes.

Supported formats

  • Text input and output use UTF-8 expectations.
  • Base64 uses the standard alphabet and may include equals-sign padding.
  • Hexadecimal requires pairs of valid hex digits representing bytes.

Things to know

  • Arbitrary binary data may not decode to meaningful UTF-8 text.
  • URL-safe Base64 variants can use different characters and padding rules.
  • Odd-length or non-hex characters make hexadecimal invalid.
  • Large values expand in Base64 or hex and can make a text-area workflow inefficient.
Read the full guide