Redis SCAN MATCH / KEYS pattern tester

Paste your keys and a glob pattern — see which keys match and which don't, before you run it against Redis.

Matches (2)

  • hello
  • hallo

Not matched (8)

  • hxllo
  • hillo
  • heeeello
  • firstname
  • lastname
  • age
  • user:1:session
  • user:2:session

KEYS scans and blocks the whole server until done — avoid it in production.SCAN MATCH filters after fetching each cursor batch, so a low COUNT with a selective pattern can still take many round trips to find matches.

Runs in your browser. Nothing you type is sent anywhere.

How this works

Do this against your live database in Tablyne.

Redis & Valkey GUI →

FAQ

Why does KEYS block the server? +

KEYS is O(N) over the whole keyspace in one blocking call — fine for debugging a small dataset, risky in production with a large one.

Does SCAN guarantee it returns matches on the first call? +

No — SCAN MATCH filters the batch it already fetched (sized by COUNT), so a selective pattern over a big keyspace may need many cursor iterations before returning anything.

Are these patterns full regular expressions? +

No — Redis uses a small glob dialect (?, *, [...], \), not full regex syntax like (a|b) or +.