Binary to Gray Code Converter - Free, Instant, In Your Browser
Enter a value in Binary to convert it to Gray Code.
How to use BINARY → GRAY-CODE
- 1Paste your text or data into the input box above.
- 2BINARY → GRAY-CODE runs instantly, right in your browser.
- 3Copy the result or use it directly.
Your file is processed in your browser and is never uploaded.
Frequently Asked Questions
What's the formula?
Each Gray code bit is the XOR of the corresponding binary bit and the binary bit to its left - adjacent values always differ by exactly one bit, which is why Gray code is used in rotary encoders.
Is my data sent to a server?
No - everything runs entirely in your browser with JavaScript. Nothing is uploaded.