# Character encoding declaration

*noun*

say it: **“MET-uh CHAR-set”** **/ˈmɛtə ˈtʃɑːrsɛt/** or **“KAIR-ik-ter en-KOH-ding dek-luh-RAY-shun”** **/ˈkærɪktər ɛnˈkoʊdɪŋ ˌdɛkləˈreɪʃən/**

A line near the top of the head, usually meta charset utf-8, that tells the browser how to turn the file's bytes into letters.

## What is **Character encoding declaration**?

**Character encoding declaration** — Markup near the start of a document that declares its text encoding as UTF-8.

```html
<meta charset="utf-8">
```

## In a sentence

- “After I added the **character encoding declaration**, café showed up correctly instead of cafÃ©.”

Level: Journeyman · [More HTML terms at this level](https://www.ask-codey.com/glossary?category=html&level=3)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/character-encoding-declaration
