Japanese carries the ISO 639-1 two-letter code ja.
In practice this code appears in HTML (<html lang="ja">), HTTP Accept-Language headers, locale identifiers such as ja-XX, subtitle tracks and translation files — anywhere software needs to say “this content is in Japanese”.