How to say "code" in Japanese
- nounThe word for code in technical contexts, especially programming, where it can also mean a program itself. When you mean computer code, this is the word to reach for.
- 暗号あんごうnounCode in the sense of a secret system for disguising messages — a cipher. It also covers passwords, so choose it whenever secrecy or encryption is involved.
- 規約きやくnounHere 'code' means a set of rules a group agrees to follow — a code of conduct or protocol. It suits agreements and regulations, not technical code.
- 符号ふごうnounCode as a system of signs, marks or symbols rather than a program; it also means a simple sign or symbol on its own. For programming, コード is the word you want instead.
- 掟おきてnounCode only in the sense of rules a group imposes on its members — law, regulation, rule. It is not the word for technical or secret codes.
Use 「コード」 for technical code such as programming, 暗号 for secret codes and ciphers, 規約 for a code of conduct or agreed rules, 符号 for codes made of signs or symbols, and 掟 for a group's internal rules.
Usage comparisons are AI-assisted and cross-checked by multiple models; for study reference only
This browser can't play pronunciations (needs Safari 18.4 or later, or Chrome / Edge / Firefox).


