noun
spell; incantation; magic words
Refers to a set of words believed to have magical power when spoken or chanted, often in fantasy, games, or traditional rituals.
魔法使いが呪文を唱えると、ドアが開いた。
When the wizard chanted the spell, the door opened.
このゲームでは、特定の呪文を入力するとアイテムが手に入
In this game, you can get items by entering certain magic words.
呪 (ju, 'curse' or 'spell') + 文 (mon, 'writing' or 'sentence'). The word originally referred to written or spoken formulas with supernatural power.