Which devices use big-endian and which use little-endian?
General knowledgeAsked by Anonymous from Paris, France23 Oct 2026, 7:26 PM ISTUpdated
In one line
Big-endian and little-endian are two ways computers store data, and different devices use one or the other.
Intel 8086 — 16-bit microprocessor Intel processors (like the 8086) use little-endian order. Image: Wikipedia
The rule
Big-endian means the biggest (most important) byte comes first; little-endian means the smallest (least important) byte comes first.
Let's understand it simply
Imagine you write the number 1234 on a piece of paper. In big-endian, you write 1 first, then 2, 3, and 4 — just like how we read numbers. In little-endian, you write 4 first, then 3, 2, and 1 — the reverse order. Computers use this idea when storing numbers in memory. The order they choose is called endianness (the direction of storing bytes).
Big-endian vs Little-endian
Big-endian
Little-endian
Order of bytes
Most important first
Least important first
Example (1234)
1 2 3 4
4 3 2 1
Used by
Old Macs, networks
Windows PCs, most phones
How it works
A number is split into smaller parts called bytes (like breaking 1234 into 12 and 34).
In big-endian, the most important byte (the one with the biggest value) is stored first in memory.
In little-endian, the least important byte (the one with the smallest value) is stored first.
When the computer reads the number, it puts the bytes back together in the right order.
The story behind it
The terms came from "Gulliver's Travels" (a book) where people argued about which end of an egg to break first. In computers, the argument is about which byte to store first. Different companies chose different ways for their machines.
Where you see it in real life
Most Windows PCs → use little-endian (Intel and AMD processors).
Many Android phones → use little-endian (ARM processors, but can support both).
Old Apple computers (PowerPC Macs) → used big-endian.
Network devices (like routers, the internet) → use big-endian for sending data (called network byte order).
Some smart cards and older game consoles → used big-endian.
Modern Apple devices (iPhones, Macs with ARM chips) → use little-endian, but can handle both if needed.
Why it matters
If two devices with different endianness share data, they must agree on the order, or the data will be wrong.
Network communication (like websites, emails) uses big-endian, so computers must convert data before sending.
Programmers need to know endianness when working with files, memory, or hardware.
Mistakes with endianness can cause bugs that are hard to find.
Common mistakes
Thinking all computers use the same endianness — they do not.
Mixing up which is which: big-endian = big byte first, little-endian = little byte first.
Forgetting to convert data when sending between different devices.
Remember it
Big-endian: Big byte first. Little-endian: Little byte first. Think of how you write numbers — left to right (big-endian) or right to left (little-endian).
Check yourself
If you send data from a Windows PC to a network, which endianness does the network use?
Big-endian, so the PC must convert the data before sending.
Why do computers use different endianness?
Different companies made different choices for their hardware.
What happens if you mix up endianness when reading a file?
You get the wrong value because the bytes are in the wrong order.
Quick recap
Big-endian stores the biggest byte first; little-endian stores the smallest byte first.
Most Windows PCs and modern phones use little-endian.
Networks and some old computers use big-endian.
Mixing up endianness can cause data errors.
Programmers must check endianness when sharing data.