Fuzzy Search Playground
Type a query and a list of candidates to see how three fuzzy matching methods rank them, with the matched letters marked.
Use the tool
Why this tool exists
Fuzzy search is behind file pickers, command palettes and typo-tolerant search boxes. Different methods behave differently: subsequence matching lets you type "usrctl" for user_controller, edit distance forgives typos, and trigram similarity compares overall shape.
Use this page to see how each method treats your own data before you choose one. The scoring here is simple and written for this page. It is not the exact algorithm of fzf or any library, so use it to compare ideas, not to predict another tool's ranking.
How to use it
- Enter a query.
- Paste candidates, one per line.
- Pick an algorithm and adjust the minimum score or the limit.
- Compare the ranking and the marked letters.
Frequently asked questions
Is this the same scoring as fzf?
No. It is a simplified scheme with bonuses for consecutive letters and word starts. Results are similar in spirit but not identical.
When should I use edit distance?
When users misspell words. Subsequence matching needs every letter present in order, so a typo can cause a miss.
How are scores compared across modes?
They are not. Each mode has its own scale, so only compare scores inside one mode.
Is there a size limit?
Up to 20000 candidates, each up to 300 characters.