Fish for a 30 litre tank
Thirty litres — roughly 40 × 25 × 30 cm — is a real aquarium with real limits. Most shoaling fish do not fit, and the ones that do generally want the tank to themselves. Everything below is here because its own stated minimum is 30 litres or less.
Why these
Minimum volume of 30 litres or less, taken from each species' own requirement.
16 species

Bladder Snail
Physella acuta
1.5 cm · 15–30 °C · ≥ 10 l

Endler's Livebearer
Poecilia wingei
4.5 cm · 22–29 °C · ≥ 30 l

Malaysian Trumpet Snail
Melanoides tuberculata
2.5 cm · 18–30 °C · ≥ 10 l

Ramshorn Snail
Planorbella duryi
2 cm · 18–28 °C · ≥ 10 l

Betta (Siamese Fighting Fish)
Betta splendens
7 cm · 24–30 °C · ≥ 20 l

Blue Velvet Shrimp
Neocaridina davidi
3.5 cm · 18–28 °C · ≥ 19 l

Cherry Shrimp
Neocaridina davidi
3.5 cm · 15–30 °C · ≥ 19 l

Least Killifish
Heterandria formosa
3.5 cm · 15–26 °C · ≥ 20 l

Nerite Snail
Neritina natalensis
2.5 cm · 18–28 °C · ≥ 19 l

Chili Rasbora
Boraras brigittae
2 cm · 24–28 °C · ≥ 30 l

Clown Killifish
Epiplatys annulatus
3.5 cm · 20–26 °C · ≥ 20 l

Dwarf Rasbora
Boraras maculatus
2.5 cm · 22–28 °C · ≥ 30 l

Scarlet Badis
Dario dario
2.5 cm · 18–26 °C · ≥ 30 l

Sparkling Gourami
Trichopsis pumila
4 cm · 22–28 °C · ≥ 30 l

Thai Micro Crab
Limnopilos naiyanetri
2.5 cm · 21–28 °C · ≥ 20 l

Sulawesi Cardinal Shrimp
Caridina dennerli
2.5 cm · 25–30 °C · ≥ 20 l
Which of these go together?
A list tells you what is possible on its own. Whether three of them share a tank without one eating another — and whether your volume, temperature and hardness actually allow it — is what the planner works out.
Open the planner