GenerateRandomSearch

Language Code Picker

Picks a real ISO 639 language code on its own — no region attached, unlike the site's locale picker — for testing language-only fields such as a translation key or content-language tag.

What this generator does

Draws a real ISO 639 language code on its own — the language and nothing else. Distinct from the site's locale picker, which pairs a language with a region, because the two answer different questions: the language decides what words to use and the region decides date, number and currency formatting.

What you'll get

This generator draws from a hand-checked list of 20 entries. Here is a spread of 6 of them, so you can see the style before you generate:

  • en — English
  • es — Spanish
  • nl — Dutch
  • zh — Chinese
  • ru — Russian
  • el — Greek

A fixed sample of the list, not a live draw — your own results are picked at random from all 20, without repeating until the list runs out. ISO 639-1 language codes (public standard, well-known codes).. Last reviewed 2026-07-18.

How to use this tool

  1. Press generate for a language code.
  2. Generate again for a different one.

Common use cases

  • Testing language-only fields
  • Populating a language-picker demo
  • Documentation examples

Limitations and good to know

  • ISO 639 has several parts with overlapping code sets, and a few languages have both a two-letter and a three-letter code. Check which set your system expects before using a code from here.

Entries are chosen with your browser's cryptographic random number generator, so every entry on the list is equally likely. How Generate Random works.