Back to Free Tools
FREE TOOLS
Binary Reflected Gray Code Converter
Convert fixed-width binary and binary-reflected Gray words while preserving leading zeros and unsigned value.
Conversion direction (select), Fixed-width bit word (text)
Complete exact JSON report
Browser only
Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.
This tool needs JavaScript. If it does not load, refresh the page and try again.
How to use this tool
- Choose Conversion direction and enter the Fixed-width bit word.
- Select Convert bit word.
- Download gray-code.json for both full-width words and the unsigned decimal value.
Examples
Binary010 becomes Gray011; both report decoded unsigned decimal2.
Limitations
- Exactly 1–256 ASCII bits, up to 64 KiB JSON and a 30-second processing limit.
- No whitespace, signs, decimal/hex input or direction autodetection.
- Only binary-reflected Gray code; no error correction or hardware signal guarantees.
Related tools
No items found.