es
Spanish
Español
Indo-European
Language Code
ISO 639-1 Code
es
Common Usage
HTML lang attribute
<html lang="es">
HTTP Accept-Language Header
Accept-Language: es
JavaScript/TypeScript
const language = "es"; const languageName = "Spanish";
ISO 639 Standard
ISO 639-1 is the international standard for language codes. These two-letter codes are used in HTML lang attributes, HTTP headers, and i18n/l10n systems. The code "es" represents Spanish (Español) and is part of the Indo-European language family.