CREATE · REVIEW · EXPORT

Gray Code Encoder & Decoder

Convert reflected binary Gray code in either direction with exact decimal, hexadecimal and padded binary representations.

Purpose-built workspaceBrowser processingPreview before export

Ready. Explore the example or use the input controls to begin.

Scope and practical limits

Unsigned reflected binary Gray code; width 1–256 bits; 1–500 input lines. Width controls padding and rejects overflowing input. No signed interpretation.

The tool processes your work in the browser. The website’s advertising and analytics follow its privacy and consent settings. Projects are not saved automatically. Media workspaces export their files directly rather than storing them in project JSON.

Using Gray Code Encoder & Decoder

Convert reflected binary Gray code in either direction with exact decimal, hexadecimal and padded binary representations.

  1. Start with the example and choose the declared input representation and any bit width.
  2. Change the operation or format, then inspect the precise result and validation messages.
  3. Copy the output or download text, JSON or a CSV audit. Save a project to retain editable inputs.

Example

Decimal 7 encodes as Gray decimal 4 (binary 00000100); decoding restores 7.

Questions & answers

What representation does this tool use?

Unsigned reflected binary Gray code; width 1–256 bits; 1–500 input lines. Width controls padding and rejects overflowing input. No signed interpretation.

What are the limits?

Unsigned reflected binary Gray code; width 1–256 bits; 1–500 input lines. Width controls padding and rejects overflowing input. No signed interpretation.

Does it save my input automatically?

No. Processing runs in your browser. Download your result or saved project before leaving. Site advertising and analytics follow the website consent and privacy settings.

Help improve this tool

Report a problem or suggest an improvement

Describe the issue without pasting private tool input. Feedback goes to our admin inbox.

Find another tool · Read practical guides