Short answer
An icon is a small, simple image that represents an action, object, app or idea. In software, icons label buttons such as search, home and settings. App icons represent whole programs, and favicons identify websites in browser tabs. Good icons are simple, consistent in style, and paired with text labels when their meaning could be unclear.
Last verified against the sources listed below.
Key takeaways
- An icon is a small symbol that stands for an action, object or idea.
- Main kinds: interface icons, app icons and favicons.
- Icons work best with simple shapes and a consistent style.
- Add text labels when an icon's meaning is not universal.
- Interface icons need enough contrast to be seen, at least 3:1 against their background.
Icons are the small pictures that let you navigate software without reading every word. A magnifying glass means search, a gear means settings, and a trash can means delete. They save space and speed people up, when they are clear.
| Quick facts | |
|---|---|
| What it is | A small symbol for an action, object or idea |
| Main kinds | Interface icons, app icons, favicons |
| Common grid | 24 × 24 pixels for interface icons |
| Best web format | SVG |
| Contrast target | At least 3:1 for meaningful icons |
Icons are symbols that stand for something
An icon is a small image that represents an action, object or idea. Wikipedia’s computing icon article describes it as a pictogram displayed on a screen to help users navigate a computer system.
Icons work because people learn their meaning. Some are nearly universal, such as play, pause and close. Others vary by product and culture, which is why labels still matter.
The three main kinds of icons
Icons fall into three broad groups, each with its own rules.
| Kind | What it does | Typical sizes |
|---|---|---|
| Interface (UI) icons | Label buttons, actions and states | Drawn at 24 px, shown 16 to 32 px |
| App icons | Represent a whole app on a device | Large master, scaled by the system |
| Favicons | Identify a website in tabs and bookmarks | 16, 32 px and larger versions |
MDN’s favicon glossary entry describes a favicon as a small icon included on a website that browsers display in tabs and bookmarks. The free Favicon Generator creates the common sizes in one step.
What makes a good interface icon
Good icons are simple, consistent and recognizable. A few rules cover most cases.
- Simple shapes: remove detail that disappears at small sizes.
- One style: keep stroke width, corner radius and fill consistent.
- Pixel alignment: align strokes to the pixel grid so they stay crisp.
- Familiar metaphors: use symbols people already know.
- Labels where needed: add text for anything less than obvious.
Material Design’s icon guidance recommends designing icons on a consistent grid with simple, consistent shapes so they read clearly across an interface.
App icons
App icons represent an entire app, so they behave more like small logos. They need to stand out on a crowded home screen and still read at small sizes.
Apple’s Human Interface Guidelines for app icons recommend simple, recognizable designs and suggest using text in an app icon only when it is essential to the brand. Each platform sets its own sizes and masks, so check current guidelines before you export.
Icons and accessibility
Icons that carry meaning must be visible and understandable to everyone. WCAG asks for a contrast ratio of at least 3:1 for graphical objects needed to understand content, as explained in the non-text contrast guidance.
Icon-only buttons also need an accessible name, such as an aria-label, so screen readers can announce them. A visible text label helps everyone, not just people using assistive technology.
The Color Contrast Checker shows whether your icon color has enough contrast with its background.
Icon file formats
Use SVG for interface icons on the web and PNG where platforms require it.
| Format | Best for |
|---|---|
| SVG | Interface icons, scalable favicons |
| PNG | App store icons, older favicon sizes |
| ICO | Legacy favicon support |
| Icon fonts | Older projects; SVG is now preferred |
SVG icons scale cleanly and can take their color from CSS, which makes dark mode and theming easy. Our guide on what a vector file is explains why vector formats suit icons so well.
Icon or logo?
A logo identifies a brand; an icon usually identifies an action or object. The two meet in app icons and favicons, which often use a simplified version of a brand’s logo.
When you adapt a logo into an icon, strip it back. Use the symbol rather than the full name, increase line weights, and test it at 16 pixels. If it still reads, it will work in a browser tab.
Frequently asked questions
What is the difference between an icon and a logo?
A logo identifies a brand, while an icon usually represents an action or object, such as search or delete. The two overlap in app icons and favicons, which often use a simplified version of a brand's logo so it reads at tiny sizes.
What is a favicon?
A favicon is the small icon a browser shows in tabs, bookmarks and history next to a website's name. Sites usually provide it in several sizes and formats, such as ICO, PNG and SVG, so it looks sharp on desktop browsers and phones.
What size should icons be?
Interface icons are often drawn on a 24 by 24 pixel grid and shown at 16 to 32 pixels. Favicons commonly include 16, 32 and larger sizes, while app icons need much larger master images that platforms scale down. Always check each platform's current guidelines.
Should icons have text labels?
For most interfaces, yes. Only a few icons, such as search, home and close, are widely understood on their own. Adding a short text label next to less common icons reduces confusion and helps people using screen readers or unfamiliar with the symbol.
What file format is best for icons?
SVG is the best choice for interface icons on the web, because it scales cleanly and can change color with CSS. App stores and operating systems usually require PNG master images. Favicons often combine an ICO or PNG with an SVG version.
Sources
- Favicon · MDN Web Docs, 2026
- Icon (computing) · Wikipedia, 2026
- App icons · Apple Human Interface Guidelines, 2026
- Icons · Material Design 3, 2026
- Understanding Success Criterion 1.4.11: Non-text Contrast · W3C WAI, 2026