Gray Code to Decimal
Decode reflected Gray code back to Decimal values in your browser.
What this gray code to decimal does
The decoder reverses the exclusive-or chain that the encoder builds, restoring the original value.
How to use it
Gray Code to Decimal: paste the Gray code into the box above, and press Run to get the Decimal below.
Worked example
Input:
15
Output:
1
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads Gray code and returns Decimal; reloading the page discards both.
The decoder reverses the exclusive-or chain that the encoder builds, restoring the original value.
Decode reflected Gray code back to Decimal values in your browser.
How to use it
Gray Code to Decimal: paste the Gray code into the box above, and press Run to get the Decimal below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads Gray code and returns Decimal; reloading the page discards both.
What to Expect
Best for
- Converting Gray code to Decimal when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample input
15
Sample output
1
Frequently asked questions
How do I use the gray code to decimal?
Gray Code to Decimal: paste the Gray code into the box above, and press Run to get the Decimal below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.