Swap nibbles in byte

Client

Swap hex digits in a byte—0xAB becomes 0xBA.

About Swap nibbles in byte

Exchange high and low 4-bit halves of an 8-bit value. The interactive transform on this page runs in your browser tab—Toolcore does not need your paste for the core operation described above.

How to use this page

Paste or type in the main workspace, run the primary action from the toolbar, then copy or download the result. Use Load example when the page offers it, or URL prefill (?q= / ?qb=) so agents and tickets open the same input.

0xBA (186)

Nearby workflows on Toolcore

  • Reverse bits (8-bit)Reverse bit order of an 8-bit value—low-level bit trick. when the payload needs a different encoding or escape format.
  • Reverse byte order (hex)Reverse order of space-separated hex bytes—endian swap helper. when the payload needs a different encoding or escape format.
  • Hex encode & decodeUTF-8 text to hex and hex to text—strip spaces, local only. when the payload needs a different encoding or escape format.
  • Encoding toolsHub index: Base64 & URL, Base64url, Base32, Crockford, LEB128, ASCII85, Z85, Base58, base-36, bencode, Morse, quoted-printable, URI, Puny… when the payload needs a different encoding or escape format.

Common use cases

  • Swap nibbles in byte for quick local checks without uploading data.
  • Copy results into tickets, docs, or classroom notes.

Common mistakes to avoid

  • Unexpected input shape

    See the intro and how-to notes for accepted formats.

FAQ

Is processing local?

Yes—this runs entirely in your browser.

Agent prefill?

Use q or qb for the main text field when supported.

Related utilities you can open in another tab—mostly client-side.