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