What does OSI Layer 6 (Presentation) do?
OSI Layer 6 (Presentation) puts data into a common format both ends agree on — handling character/data translation (ASCII, Unicode, JPEG, MPEG) and compression so the receiver can interpret what the sender meant.
Layer 6 = Presentation Layer
Think of it as the translator and packager: the application above doesn't have to care whether the other side uses a different character set or image format — Layer 6 converts data into a common representation and back again.
Functions:
| Function | Example |
|---|---|
| Formatting / translation | Character encoding (ASCII, Unicode); data formats (JPEG, GIF, MPEG) |
| Compression | Shrinking data so it transmits faster |
| Encryption | Putting data into a form only the intended receiver can read |
Why it matters: without a common representation, one host's "é" or JPEG could be garbage to another. Layer 6 guarantees the two sides interpret the bits the same way.
Caveat on encryption: classic OSI textbooks list encryption (and often "SSL/TLS") as a Presentation-layer job. In real TCP/IP networks TLS actually runs above the Transport layer, not in a distinct Presentation layer — the clean 7-layer split is a teaching model, not how the Internet is built. Treat "encryption lives at Layer 6" as the exam answer, but know it's a simplification.
Memory tip: Layer 6 "Presents" data - like a translator at a presentation!
Go deeper:
Presentation layer — translation, compression, and why TLS doesn't cleanly map here in real TCP/IP networks.