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