Code vs Script

When to use each in English, with meaning, register, and examples.

Code

Top 1,000 (very common)A2noun

Script

Top 2,000 (common)B1noun
Most common: Code
 CodeScript
Pronunciation🇬🇧 /["/kəʊd/"]/🇺🇸 /["/kəʊd/"]/🇬🇧 /["/skrɪpt/"]/🇺🇸 /["/skrɪpt/"]/
MeaningA system of words, letters, or symbols used to represent information.A written text for a play, movie, or broadcast.
ExampleHe learned how to write a code for his website.That line isn't in the original script.
RegisterNeutralNeutral
How commonTop 1,000 (very common)Top 2,000 (common)
CEFR levelA2B1
Part of speechnounnoun
Collocationsarea, dialling, post, generate, number, generator, area, dialling, post, generate, number, generator, binary, executable, HTML, execute, write, modify, strict, unwritten, ethical, have, adopt, draw up, a code of behaviour/​behavior, a code of conduct, a code of ethics, strict, unwritten, ethical, have, adopt, draw up, a code of behaviour/​behavior, a code of conduct, a code of ethicsdraft, original, final, prepare, write, co-write, editor, writer, script about, script for, neat, cursive, flowing, in a/​the script, neat, cursive, flowing, in a/​the script
Antonymsdecode, explainimprovisation, spontaneity
Common mistakesConfused with 'decode' which means to change code back to the original information., Using 'code' improperly as a verb instead of as a noun., Mixing up 'code' in a programming sense with its use in non-technical contexts.Confused with 'screenplay' - a specific type of script for films., Using 'script' to refer to general writing, instead of specific structured texts., Mixing up the noun 'script' with the verb 'to script'.
Usage notesUse 'code' when discussing programming or secret messages. It’s neutral language suitable for both informal discussions among friends or formal settings in tech. Avoid using it in contexts unrelated to technology or communication.Use 'script' in formal contexts like theater or film discussions. It's not commonly used in casual conversation. You wouldn't use it to refer to everyday written texts.

Frequently asked questions: Code vs Script

What's the difference between Code and Script?

Code: A system of words, letters, or symbols used to represent information. Script: A written text for a play, movie, or broadcast.

Which is more common: Code and Script?

Code is the most common in everyday English.

Are Code and Script the same CEFR level?

Code: A2, Script: B1 on the CEFR scale.

Can I use Code and Script interchangeably?

Not always. Code and Script are related and overlap in some contexts, but they differ in register, how common they are, and usage, so swapping one for another can change the meaning or tone. Check the differences above before substituting.

Related comparisons