Week 1 · Lesson 12

OSI Model — Presentation Layer

Two applications rarely speak the same format. One stores characters in ASCII, the other in EBCDIC; one holds a JPEG, the other expects a bitmap. The presentation layer is the translator, the cipher, and the compressor of the OSI stack. This lesson covers what it does and how much of it still appears in real networks.

CCNA 200-301 Domain 1.0 Network Fundamentals Verified 2026-10-11
Part 1

The role of the layer

The presentation layer is Layer 6 of the OSI model. It has one overall purpose: to make sure the data a sender produces can be understood by the receiver. It performs three families of job:

Definition — presentation layer. The OSI presentation layer handles the syntax and representation of data: it translates between formats, encrypts and decrypts, and compresses and decompresses, so that Layer 7 on each side receives data it can use.

An old name for this layer is the syntax layer, because its central job is agreeing on the form of the data, not its meaning. The application layer cares what a message means; the presentation layer cares how those bits are laid out and encoded.

Three jobs of Layer 6 · select a job

Part 2

Character encoding

Text is the most familiar example of a format problem. A computer stores letters as numbers, and there are several numbering schemes. If two systems disagree, the same bytes render as garbage.

EncodingSizeNotes
ASCII7 bits (often stored in 8)American Standard Code for Information Interchange; 128 codes covering English letters, digits, punctuation, and control characters.
Extended ASCII8 bits256 codes; adds accented letters and symbols but is not standardised across vendors.
EBCDIC8 bitsExtended Binary Coded Decimal Interchange Code; an IBM mainframe encoding, assigned different values than ASCII.
Unicode (UTF-8)Variable (1–4 bytes)One universal character set covering hundreds of thousands of characters across scripts; UTF-8 is backwards-compatible with ASCII.

The classic teaching example is a text file created on an ASCII system being read on an EBCDIC system. Without translation the letters come out meaningless, because the same number maps to a different character. The presentation layer is what fixes this by converting one encoding into the other. Unicode/UTF-8 largely solved the problem at the source by giving every character in every script a single, agreed code point.

Application A text in ASCII 7-bit encoding ASCII Presentation layer Layer 6 Translation / formatting Encryption / decryption Compression / decompression EBCDIC Application B text in EBCDIC 8-bit encoding
Encoding explorer · select an encoding

Part 3

Data formats and codecs

Beyond text, the layer concerns standard representations for many kinds of data:

A codec is the pair of algorithms that encodes and decodes one of these formats. The presentation layer conceptually owns the job of ensuring both ends agree on the codec, so that a video encoded with one standard is decoded with the same one.

Part 4

Compression

Compression reduces the size of data so it transfers faster and consumes less storage. There are two kinds, and the exam expects you to know the difference:

TypeBehaviourExamples
LosslessShrinks data with no information lost; the original is restored exactly.PNG, ZIP, gzip
LossyDiscards detail the eye or ear is unlikely to notice; the original cannot be restored exactly.JPEG, MP3, MP4 video
Memory hook. Lossless = perfect copy (use it for text, code, and archives). Lossy = smaller but approximate (use it for media where a little detail may be discarded). If a file must round-trip unchanged, it must be lossless.
Lossless or lossy? · select a type

Part 5

Encryption and SSL/TLS

Encryption transforms readable data (plaintext) into an unreadable form (ciphertext) so an eavesdropper cannot use it; decryption reverses the process for the intended receiver. In the original OSI literature, encryption and decryption were placed at the presentation layer, and the SSL/TLS family is the usual example given.

The modern, accurate view is more subtle:

Keep it simple. For the exam, remember the OSI placement: encryption belongs to the presentation layer and session management belongs to the session layer. Know as well that real stacks do not implement a clean Layer 6, so protocols such as TLS are described as spanning both functions and are implemented above TCP.
Where TLS sits · select a layer in the stack

Part 6

How real stacks implement it

The presentation layer is largely conceptual. The TCP/IP model does not have a separate presentation layer; it folds Layers 7, 6, and 5 into a single application layer.

In practice its jobs are done inside applications and libraries: a browser decodes a JPEG and renders text; an HTTPS library performs the TLS handshake; a video player decompresses a stream. The exam still asks about Layer 6, so you need the functions and examples — just understand that they are usually implemented as part of the application rather than as a distinct protocol layer.

Exam tip. Three keywords point straight to Layer 6: format, encryption, and compression. If a question mentions ASCII vs EBCDIC, image or video formats, or data compression, the answer is the presentation layer.
Part 7 · Your turn

Review

Check what you have learned with these review questions. The key terms and sources from this lesson are listed below the quiz.

Review · 6 questions

Key termMeaning
Presentation layerLayer 6 of OSI; handles data representation, encryption, and compression.
Character encodingA scheme mapping characters to numeric codes (ASCII, EBCDIC, Unicode).
CodecThe encoder/decoder pair for a media format.
Lossless compressionCompression that restores the original data exactly.
Lossy compressionCompression that discards some information to save space.
TLSTransport Layer Security; encrypts application data and is layered above TCP.
Sources & references. Braden, R. RFC 1122: Requirements for Internet Hosts — Communication Layers (1989) · IANA Service Name and Transport Protocol Port Number Registry (port 443 for HTTPS) · ISO/IEC 7498-1 OSI Basic Reference Model, which describes the presentation layer · Cisco CCNA (200-301) Exam Topics, Network Fundamentals.
Sources

Sources & references

  1. Braden, R. RFC 1122: Requirements for Internet Hosts — Communication Layers (1989), on the layering model. rfc-editor.org/rfc/rfc1122.
  2. IANA. Service Name and Transport Protocol Port Number Registry (port 443 for HTTPS). iana.org.
  3. ISO/IEC 7498-1. Information technology — Open Systems Interconnection — Basic Reference Model, which describes the presentation layer. iso.org.
  4. Cisco. CCNA (200-301) Exam Topics, Network Fundamentals. cisco.com.

Target exams: CCNA 200-301 v1.1 · CyberOps Associate 200-201. Last content verification: 2026-10-11.