Gray Code Converter
Convert binary or decimal integers to reflected Gray code and recover the original value.
gray-code-converterLOCAL WORKSPACE
Enabling local controls…
Results
Review the settings and run. Editing inputs clears old results.
Processing model and limits
The Gray word equals n XOR (n shifted right one bit). Binary modes retain leading zeroes. Maximum width is 1,024 bits.
Data and model checked: NIST Dictionary of Algorithms and Data Structures ↗
How to use this tool
Load the example, confirm field units and processing rules, then run locally. Editing any input clears the old result. Copy or download the complete output explicitly.
When not to use it
The Gray word equals n XOR (n shifted right one bit). Binary modes retain leading zeroes. Maximum width is 1,024 bits.