Skip to tool

SQL String similarity Online

Estimate similarity ratio with a target string.

The output updates as you type. The tool processes input in your browser.

Worked example

Use the score as a ranking signal. Different similarity algorithms can give different scores for the same pair. Use PostgreSQL’s function reference to adapt the input to SQL syntax.

Other
"manuals"
Sample input
manual
Sample output
similar_chars=6
percent=85.71

Using this operation in SQL

The interactive result uses JavaScript. Check the database dialect. PostgreSQL text functions use SQL-style one-based positions and LIKE uses its own pattern syntax.

SQL reference