CLEAR INPUTS. RESULTS YOU CAN REUSE.

Digit Manipulation Workbench

Reverse decimal or hexadecimal digits, or shift each digit independently with wrapping. Preserve leading zeros, signs and optional hexadecimal prefixes; batch-process values with a before/after audit.

Local processingExamples includedBatch-ready exports

1. Set up your input

These are digit-string operations, not arithmetic. Shifting 99 by 1 in decimal produces 00, without carry. Reversing hexadecimal 1234 produces 4321 by nibble; it does not reverse byte order. Signs and a supplied 0x prefix stay at the front.

2. Preview & use the result

Load an example to get started.

Changing settings disables old exports. Processing runs locally; website ads and analytics follow our privacy information.

Using Digit Manipulation Workbench

Reverse decimal or hexadecimal digits, or shift each digit independently with wrapping. Preserve leading zeros, signs and optional hexadecimal prefixes; batch-process values with a before/after audit.

  1. Paste decimal values, or choose hexadecimal for hex digits and optional 0x prefixes.
  2. Select reversal or independent digit shifting. Choose a positive or negative shift and hexadecimal letter case.
  3. Inspect the before/after table. Copy, download TXT or save a JSON audit including each original value.

Example

These are digit-string operations, not arithmetic. Shifting 99 by 1 in decimal produces 00, without carry. Reversing hexadecimal 1234 produces 4321 by nibble; it does not reverse byte order. Signs and a supplied 0x prefix stay at the front.

Questions & answers

Does incrementing add to the whole number?

No. It shifts each digit independently and wraps within the selected base. Decimal 89 shifted by 2 becomes 01.

What happens to a negative sign?

It stays at the front; only the following digits change. Leading zeros remain present.

Is hexadecimal reversal an endian conversion?

No. It reverses individual hex digits, or nibbles. Reversing 1234 yields 4321; a two-byte endian swap would yield 3412.

What inputs are accepted?

Up to 1,000 nonempty lines, 4,096 digits per line and 100,000 characters overall. Separators, fractions and scientific notation are rejected.

Is my input uploaded for processing?

No processing upload is used. This tool runs in a local browser worker. Website ads and analytics follow the site privacy information.

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