Network+ (N10-009) · ELI Explains Networking Layers (book)

Layer 6 — Presentation

4 min read
Want it in plain words first? Jump to Eli explains — the same idea, no jargon.
On this page 3 sections
  1. The college version
  2. Eli explains
  3. Study tools

The college version

What This Layer Does

Data that arrives correctly can still be useless. A file of raw bytes means nothing unless the receiving program knows what those bytes are meant to represent — letters, a photograph, a number, a sound.

The Presentation layer is about form rather than delivery. Its job is to put data into a shape the receiving application can understand, and to reverse that shaping at the other end. Three kinds of transformation live here, and beginners often confuse them, so it is worth separating them cleanly.

is agreeing what the bytes mean. Text is the clearest case. The letter "A" has to be stored as a number, and both sides must use the same table of numbers and letters or the message arrives as gibberish. UTF-8 is the encoding used for most text on the modern internet, and it can represent every character in every widely used writing system. Images, audio, and video are the same idea with more complicated rules: JPEG, PNG, and MP4 are all agreements about what a particular arrangement of bytes represents.

is making data smaller. A compressed file contains the same information in fewer bytes, either by removing repetition without any loss, or by discarding detail the recipient is unlikely to notice, which is how photos and streaming video stay small enough to send.

is making data unreadable to anyone who does not hold the key. The sender scrambles the data before it travels; the receiver unscrambles it, which is called . Anyone who intercepts it in between sees noise. This is what the padlock in your browser's address bar indicates.

Encoding, compression, and encryption are three different operations with three different purposes: meaning, size, and privacy. Data often gets all three.

A note on where encryption really sits. Web traffic is encrypted using TLS, which does not map onto exactly one OSI layer — different sources place it at Layer 6, at Layer 5, or spanning both alongside Layer 4. Encryption is discussed here because it is a presentation-style transformation, not because the industry has settled the question.

Common Examples

  • UTF-8 text encoding
  • Image formats such as JPEG and PNG
  • Video and audio formats such as MP4
  • Compression applied to web pages before they are sent
  • TLS, the encryption behind HTTPS

Simple Real-World Example

You open a shopping site over HTTPS. The server compresses the page's text to reduce its size, then encrypts it before sending. The page travels across the internet as unreadable data.

Your browser decrypts it, decompresses it, and interprets the text using UTF-8 and the images using their own formats. Only then does anything appear on your screen. Every one of those steps is a Presentation-layer concern: not getting the data, but making it usable.

What Can Go Wrong?

  • The two sides disagree on the encoding. Text appears as strange symbols, the classic sign of a mismatch.
  • The receiver cannot handle the format. An unsupported image or video format shows as a broken placeholder even though the file arrived perfectly.
  • Encryption fails to establish. The browser refuses to load the page and warns you, which is the system working as intended rather than breaking.
  • Compressed data is corrupted. A small amount of damage can make a whole compressed file unreadable.

Remember This

Layer 6 formats, translates, compresses, or encrypts data.

Eli, the EliExplains learning guide

Eli explains

The same idea, in plain words

Explain it like I’m 10

Imagine two people who want to talk but do not speak the same language. One speaks English, the other speaks Spanish. A translator stands between them. When the first person speaks, the translator changes the words into Spanish. When the second replies, the translator changes them back.

Layer 6 is the translator.

Computers have the same problem. A message is stored as numbers, and both computers have to agree on what those numbers mean. Which number is the letter "A"? Which pattern is the color blue? That agreement is called encoding, and without it a message arrives as nonsense — like reading a letter in an alphabet you have never seen.

This layer does two more things.

It can put the message in a smaller box. That is compression. A big photo is squeezed down so it takes less time to send, then unsqueezed when it arrives.

It can lock the box. That is encryption. The message is scrambled before it leaves, and only the person it is meant for has the key to unscramble it. Anyone who peeks along the way sees nothing but jumble.

Why do we need it? Because arriving is not the same as being understood. The lower layers get the box to your door. This layer makes sure you can open it and read what is inside.

Here is a real example. When a website shows a padlock in the address bar, the page was locked before it was sent and unlocked by your browser when it arrived.

Keep learning

Ready to build on this? Continue to the next lesson.

Practice Network+ (N10-009)

This lesson has no separate scored set. Practice draws from the subject’s question bank.

Study tools & related lessonsKey vocabulary · Related

Key vocabulary

Encoding
the agreed rule for what a pattern of bytes represents, such as
Character encoding
encoding applied to text; UTF-8 is the common modern
Compression
reducing the number of bytes needed to carry the same
Encryption
scrambling data so only the intended recipient can read it.
Decryption
turning encrypted data back into readable form.

Educational content only. It is not medical, legal or professional advice. Found an error? Tell us.