Hex Encoder

Encode/Decode a string using Hex algorithm

Tags: encoder hex encode/decode

Introduction

This is an online Hexadecimal encoder tool which helps to convert to string to hexadecimal.

How to use this tool?

You can input/paste your string directly into the editor, then click the encode/decode button to encode/decode the string.

After encoding/decoding, you can download, save or share the result. It will create a short link for you to share with others. You can also sign-in using Google/GitHub to save result into your account.

What is Hexadecimal?

Text and numbers can be encoded in a computer as patterns of binary digits. Hexadecimal is a shortcut for representing binary. ASCII and Unicode are important character sets that are used as standard.

Hexadecimal (or hex) is a base 16 system used to simplify how binary is represented. A hex digit can be any of the following 16 digits: 0 1 2 3 4 5 6 7 8 9 A B C D E F.

Each hex digit reflects a 4-bit binary sequence.

This means an 8-bit binary number can be written using only two different hex digits - one hex digit for each nibble (or group of 4-bits). It is much easier to write numbers as hex than to write them as binary numbers.

For example:

  • 11010100 in binary would be D4 in hex
  • FFFF3 in hex would be 11111111111111110011 in binary

Learn more

Examples

Before encoded

      
Hello, World!
      
    

After encoded

      
48656c6c6f2c20576f726c6421