HEX to Base64 Converter

Tool for converting hexadecimal data to Base64 format with various formatting options

Input HEX
Base64 Output

About HEX to Base64 Converter

This tool allows you to convert hexadecimal (HEX) data to Base64 encoded format with various display options. HEX is a common way to represent binary data in a text format using the characters 0-9 and A-F.

Supported HEX input formats:

  • Plain - Simple uppercase or lowercase hex characters (DEADBEEF or deadbeef)
  • With Dashes - Pairs separated by dashes (DE-AD-BE-EF)
  • With 0x Prefix - Each byte has 0x prefix (0xDE 0xAD 0xBE 0xEF)
  • With Colons - Pairs separated by colons (DE:AD:BE:EF)
  • With Spaces - Pairs separated by spaces (DE AD BE EF)

Available Base64 output formats:

  • Standard - Regular Base64 encoding (SGVsbG8gV29ybGQ=)
  • URL Safe - URL-friendly Base64 where '+' is replaced with '-' and '/' with '_'
  • With Line Breaks - Base64 with line breaks every 76 characters for better readability

This conversion is performed locally in your browser - no data is sent to any server.