Tools

Home
Base64 Encode/DecodeString to HexHash GeneratorUTF-8 Encode/DecodeURL Encode/Decode

Hex to Gray Code Converter

Convert hexadecimal to Gray code online.

Your data never leaves your browser
INPUT0 values
OUTPUT0 values
Ready·Ready

Paste a hex value and get its Gray code — the reflected binary sequence where each step flips exactly one bit. Useful for rotary encoders, Karnaugh maps, and error-resistant counters where a single glitch shouldn't skip values. And everything runs in your browser. Nothing gets uploaded.

How to Use

Enter values in the left panel.

Click Convert or use Live mode.

Copy or Download the result.

Frequently Asked Questions

What is Gray code?

A binary system where consecutive values differ by only one bit.

How converted?

Hex → binary → Gray code via XOR.

Multiple values?

Yes.

Valid chars?

0-9, A-F.

Safe?

Yes, all in browser.

Share: