Inklingo

How to Say "code" in Spanish

English → Spanish

código

nounA1general
Use this word for a numerical or symbolic sequence that unlocks something, like a phone or a door, or for computer programming instructions.

Examples

¿Cuál es el código para desbloquear tu teléfono?

What is the code to unlock your phone?

código

nounB1formal
Use this translation when referring to a formal system of laws, rules, or regulations.

Examples

El código penal establece las leyes sobre los crímenes.

The penal code establishes the laws regarding crimes.

código

nounB2technical
This is the specific term used for the instructions written in a programming language.

Examples

El error está en una línea del código fuente.

The error is in a line of the source code.

clave

KLAH-veh/ˈklaβe/

nounA2general
Use this word for a password or a secret key, especially for online accounts or access.
A cartoon hand typing on a brightly colored padlock-shaped keyboard, causing the lock to click open.

Examples

Olvidé la clave de mi correo electrónico.

I forgot my email password.

Por seguridad, cambia tu clave cada mes.

For security, change your code every month.

Always Feminine

Even though 'clave' refers to a code or password, it is always a feminine noun: 'la clave'.

Gender Confusion

Mistake:El clave (using the masculine article)

Correction: La clave (always use the feminine article 'la' or 'una').

combinación

nounB1general
This word refers to a sequence of numbers used to open locks, like a combination lock.

Examples

No recuerdo la combinación para abrir el candado.

I don't remember the combination to open the padlock.

Password vs. Lock Combination

Learners often confuse 'clave' and 'combinación' for passwords. While both can relate to access, 'clave' is more common for online or digital passwords, whereas 'combinación' specifically refers to the number sequence for physical locks.

Learn Spanish with Inklingo

Interactive stories, personalized learning, and more.