The noun code can be countable or uncountable.
In more general, commonly used, contexts, the plural form will also be code.
However, in more specific contexts, the plural form can also be codes e.g. in reference to various types of codes or a collection of codes.