Skip to main content

Encoding & Number Bases

Endianness Swapper

Swap endianness with the selected arrangement. Enter the data, choose the input and output formats, then copy the result.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

You can run the tool again after any change.

Options

Your result appears here

Swap endianness with the selected arrangement. Enter the data, choose the input and output formats, then copy the result.

This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.

Endianness Swapper converts data between formats in your browser. For a correct result, set the word width before swapping.

04 03 02 01 Processing runs in the browser.

Instructions

  1. Provide text or data for this tool.
  2. Choose the byte width used for each swap.
  3. Compare the output with a known Endianness Swapper sample.
  4. Keep the original value until the receiving system accepts the result.

Example

Input: 01 02 03 04

Settings: Endianness Swapper: choose the byte width used for each swap

Result: 04 03 02 01

Limits

  • Endianness Swapper: incorrect width produces a misleading byte order
  • Endianness Swapper: The operation does not detect a different input format automatically.
  • Endianness Swapper: Processing stays in the browser.