Font Finder from Image
Select text in an image, type what it says, and rank 33 common fonts by how closely their letter shapes match. Honest scores, no fake detection.
The interactive tool loads here when JavaScript runs.
About this toolWhat is the Font Finder from Image?
The Font Finder from Image helps you find a font that looks like the text in a picture. You drag a box around one line of text, type the characters it contains, and click Compare Fonts. The tool renders your text in each of 33 candidate fonts (26 from Google Fonts plus common system fonts such as Arial, Georgia and Times New Roman), compares each rendering with your selection pixel by pixel, and ranks them by a shape-overlap score.
It is a look-alike finder, not a font identifier. If the image uses a commercial typeface that is not in the list, the best result will be the closest free or system alternative, which is often what you actually need for a mockup or a web page. The top few results are worth checking by eye; the percentage is a measure of overlap, not a probability that the font is correct.
Your image stays in the browser. The candidate fonts are downloaded from Google Fonts, so the page does make requests to fonts.googleapis.com and fonts.gstatic.com while you use it.
- Shape comparison against 33 Google and system fonts
- Works with dark-on-light and light-on-dark text
- Regular and bold weights
- Copy CSS and download the ranking as Text or JSON
- Image processed in your browser; fonts load from Google Fonts
Updated
How to use the Font Finder from Image
- Upload an image with Upload Image, or click Load Sample to try a ready-made example.
- Drag a box tightly around one line of text. A red rectangle shows your selection.
- Type the exact characters inside the box into "Text inside the selection", matching capitals and spaces.
- Choose Regular or Bold to match the weight in the image, then click Compare Fonts.
- Read the Closest Match panel and the Ranked Candidates list. Click any candidate to preview it, use Copy CSS for the font-family rule, or download the ranking as Text or JSON.
Worked examples
The built-in sample
Input
Load Sample: "Hamburgefonts" drawn in bold Georgia, Weight: Bold
Output
A ranked list with the serif candidates near the top
The sample is drawn with Georgia when your device has it, so it is a useful sanity check: Georgia should rank at or near the top, with other serifs such as Libre Baskerville and PT Serif close behind and the script fonts at the bottom. "Hamburgefonts" is the word type designers use to test a face because it contains most distinctive lowercase shapes.
A headline from a poster photo
Input
Selection around "OPEN DAILY", typed as OPEN DAILY, Weight: Bold
Output
Condensed and geometric sans fonts such as Oswald or Montserrat ranked high if the poster uses a similar style
All-caps text has no ascenders or descenders, so width and stroke weight dominate the score. If the top results look too wide, the poster font is probably condensed; Oswald is the only condensed candidate in the list.
Background and insight
Font identification services such as WhatTheFont and Font Squirrel's Matcherator compare segmented glyphs against databases of hundreds of thousands of typefaces, usually on a server. A browser tool cannot ship that database, so this one does something smaller and checkable. It binarises your selection with Otsu's threshold (the cut-off that best separates two tones, and it handles light text on dark backgrounds by treating the smaller area as ink), crops to the ink, and resizes it to a fixed 160 x 40 grid. Each candidate rendering goes through the same steps, and the score is the intersection over union of the two grids, discounted when the overall width-to-height ratio differs.
That method rewards the things that separate typefaces at a glance: x-height, stroke weight, serifs, width and the shape of letters like a, g and R. It is weak where the input is weak. Blurry photos, perspective, tracking that differs from the font's default, ligatures and mixed weights all lower every score. Some fonts are near-clones (Arial and Helvetica differ mostly in R, G, t and the end strokes), and on short words they will tie.
Typing the text is what makes the comparison fair. Without it the tool would have to guess characters with OCR, and a wrong guess would compare different words. Use the same capitalisation as the image, because "Sale" and "SALE" have very different shapes.
Common use cases
Recreating a mockup in code
Find a free Google Font close enough to the one in a designer's screenshot when the original file is not available.
Matching an old logo
Narrow down whether a wordmark is closer to a geometric sans, a humanist sans or a transitional serif before searching type foundries.
Choosing a substitute for a paid font
See which free family is the nearest look-alike to a commercial typeface in a brand guideline PDF.
Teaching type classification
Show how serif, sans, slab and script families separate by comparing their scores on the same word.
Tips and limitations
- Select one line of text, tight to the letters. Extra background, icons or a second line all reduce the score for every font.
- Use at least 6 to 10 characters. Single letters and short words give ties between similar fonts.
- Straighten and crop photos first. The comparison has no correction for perspective or rotation.
- Italic, condensed, outlined and heavily letter-spaced text will score low against every candidate, because the candidates are rendered upright at default spacing.
- If a font you expect is missing from the ranking, check the note under the list: fonts that fail to load or are not installed are skipped.
- Confirm the winner by eye on letters like a, g, R, Q and y before using it.
Sources and further reading
- A Threshold Selection Method from Gray-Level Histograms, IEEE Transactions on Systems, Man, and Cybernetics. Nobuyuki Otsu's 1979 thresholding method
- CanvasRenderingContext2D: fillText() method, MDN Web Docs. How the candidate fonts are rendered for comparison
Frequently asked questions
Can this tool tell me the exact font in an image?
No, and no browser tool can promise that. It ranks 33 candidate fonts by how closely their shapes match your selection. If the real font is one of them, it usually ranks near the top; if not, the top results are the nearest look-alikes in the list.
Why do I have to type the text myself?
The comparison renders the same characters in each font and lays them over your selection. Typing them avoids OCR mistakes, which would make the tool compare different words. Match the capitals exactly, because upper and lower case have very different shapes.
What does the match percentage mean in the font finder?
It is the overlap between your selected letters and the rendered candidate after both are scaled to the same box, reduced when their width-to-height ratios differ. 100 means identical shapes. It is a similarity measure, not the probability that the font is right.
Which fonts does the font finder compare against?
Twenty-six Google Fonts families, including Roboto, Open Sans, Lato, Montserrat, Inter, Merriweather, Playfair Display, Lora and several script fonts, plus Arial, Helvetica, Verdana, Trebuchet MS, Times New Roman, Georgia and Courier New when your device has them.
Why are all my font matches below 50 percent?
Usually the selection includes extra space or a second line, the image is blurry, rotated or in perspective, or the text is italic or letter-spaced. Tighten the box around one straight line and check that the typed text matches exactly. Some fonts are simply not in the list.
Is my image uploaded to identify the font?
No. The selection is cropped and analysed with a canvas in your browser. The page does download font files from Google Fonts so it can render the candidates, which means Google sees a normal font request but never your image.
Is there an in-depth guide to the Font Finder from Image?
Yes. “Pulling Colours and Fonts Out of an Image: What Works and What Does Not” covers the background, how it works, common pitfalls and worked examples. Read the full guide.
Related Tools You May Like
Free, in-browser tools that pair well with this one.