CREATE · REVIEW · EXPORT

Bit Rotation & Shift Lab

Rotate fixed-width words or apply logical and arithmetic shifts, inspect dropped bits and compare binary, hex and decimal results.

Purpose-built workspaceBrowser processingPreview before export

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

Scope and practical limits

Widths 1–256 bits, up to 500 words. Amount 0–1,000,000. Rotations wrap modulo width; shifts saturate beyond width. Arithmetic right shift sign-extends the declared word.

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 Bit Rotation & Shift Lab

Rotate fixed-width words or apply logical and arithmetic shifts, inspect dropped bits and compare binary, hex and decimal results.

  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

8-bit 10000001 rotated left once is 00000011. Arithmetic right shift produces 11000000.

Questions & answers

What representation does this tool use?

Widths 1–256 bits, up to 500 words. Amount 0–1,000,000. Rotations wrap modulo width; shifts saturate beyond width. Arithmetic right shift sign-extends the declared word.

What are the limits?

Widths 1–256 bits, up to 500 words. Amount 0–1,000,000. Rotations wrap modulo width; shifts saturate beyond width. Arithmetic right shift sign-extends the declared word.

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