Gray Code Converter (Binary ↔ Gray, Sequence, N-ary, Balanced)
Convert between binary/decimal and reflected Gray code in both directions with XOR-step working, generate n-bit Gray-code sequences (0…2ⁿ−1) with the single-bit-change property highlighted, build n-ary and balanced Gray codes, and view the full truth table. BigInt support for wide values. 100% client-side & offline.
Convert between binary/decimal and reflected Gray code in both directions with XOR-step working, generate n-bit Gray-code sequences (0…2ⁿ−1) with the single-bit-change property highlighted, build n-ary and balanced Gray codes, and view the full truth table. BigInt support for wide values. 100% client-side & offline. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.