Favicon Extractor avatar

Favicon Extractor

Pricing

Pay per event

Go to Apify Store
Favicon Extractor

Favicon Extractor

This actor extracts all favicon references from web pages. It finds standard favicon links, Apple touch icons, SVG icons, mask icons, and checks for the default `/favicon.ico` fallback. It also detects web app manifest references. Each favicon entry includes the URL, format, sizes, and rel...

Pricing

Pay per event

Rating

0.0

(0)

Developer

Stas Persiianenko

Stas Persiianenko

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Share

Extract favicon URLs from web pages including ICO, PNG, SVG, Apple touch icons, and web app manifest references.

What does Favicon Extractor do?

This actor extracts all favicon references from web pages. It finds standard favicon links, Apple touch icons, SVG icons, mask icons, and checks for the default /favicon.ico fallback. It also detects web app manifest references. Each favicon entry includes the URL, format, sizes, and rel attribute.

Process hundreds of URLs in a single run to audit favicon coverage across entire websites. The output includes convenient top-level fields for the most common favicon types (default, Apple touch icon, SVG) alongside the complete list of all detected favicons.

Use cases

  • Brand directory builders -- collect favicons for company listings, bookmark managers, or link aggregation tools
  • SEO auditors -- verify favicon presence and correctness across all pages of a website
  • Design researchers -- gather favicons from competitor websites for competitive analysis and inspiration
  • Monitoring teams -- detect favicon changes across websites that may indicate rebranding or unauthorized modifications
  • PWA developers -- discover web app manifest URLs and verify icon references for progressive web apps
  • Link preview builders -- collect favicons to display alongside URLs in messaging apps, dashboards, or documentation tools
  • Quality assurance teams -- verify that all pages on a website reference the correct favicon after a site redesign or migration

Why use Favicon Extractor?

  • Comprehensive detection -- finds ICO, PNG, SVG, Apple touch icons, mask icons, and manifest references
  • Batch processing -- extract favicons from hundreds of URLs in a single run
  • Structured output -- clean JSON with URL, format, sizes, and rel attribute for each favicon
  • Default fallback check -- automatically tests for the /favicon.ico fallback path
  • Fast and lightweight -- HTTP-only requests, no browser overhead
  • Pay-per-event pricing -- just $0.0005 per URL, making bulk extraction very affordable

Input parameters

ParameterTypeRequiredDefaultDescription
urlsstring[]Yes--List of web page URLs to extract favicons from

Example input

{
"urls": [
"https://www.google.com",
"https://www.github.com"
]
}

Output example

{
"url": "https://www.google.com",
"title": "Google",
"faviconCount": 3,
"defaultFavicon": "https://www.google.com/favicon.ico",
"appleTouchIcon": "https://www.google.com/apple-touch-icon.png",
"svgIcon": null,
"manifestUrl": null,
"favicons": [
{
"href": "https://www.google.com/favicon.ico",
"type": "image/x-icon",
"sizes": null,
"rel": "shortcut icon",
"format": "ico"
}
],
"hasFavicon": true,
"error": null,
"extractedAt": "2026-03-01T12:00:00.000Z"
}

How much does it cost?

EventPriceDescription
Start$0.035One-time per run
URL extracted$0.0005Per page processed

Example costs:

  • 10 URLs: $0.035 + 10 x $0.0005 = $0.040
  • 100 URLs: $0.035 + 100 x $0.0005 = $0.085
  • 1,000 URLs: $0.035 + 1,000 x $0.0005 = $0.535

Using the Apify API

Node.js

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('automation-lab/favicon-extractor').call({
urls: ['https://www.google.com'],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python

from apify_client import ApifyClient
client = ApifyClient('YOUR_TOKEN')
run = client.actor('automation-lab/favicon-extractor').call(run_input={
'urls': ['https://www.google.com'],
})
items = client.dataset(run['defaultDatasetId']).list_items().items
for item in items:
print(f'{item["url"]}: {item["faviconCount"]} favicons found')

Integrations

Favicon Extractor integrates with your existing workflow through the Apify platform. Connect it to Make (formerly Integromat), Zapier, or n8n to automate favicon collection as part of brand monitoring or directory building pipelines. Export results to Google Sheets for team review, send notifications to Slack when favicons change, or use webhooks to trigger icon downloads and processing in your own systems.

Common integration patterns include:

  • Brand directory -- schedule regular runs on a list of company URLs and update your directory with the latest favicon URLs
  • Rebranding alerts -- compare favicon URLs across runs and send a Slack notification when a company changes its icon
  • Bookmark enrichment -- feed bookmark URLs through the actor and use the extracted favicon URLs to display icons in your application

Tips and best practices

  • Check the hasFavicon field first -- quickly filter pages that are missing favicons entirely for your audit reports.
  • Use appleTouchIcon for high-res icons -- Apple touch icons are typically 180x180 PNG files, making them the best source for high-quality brand icons.
  • Check the manifestUrl -- if present, the web app manifest often contains additional icon sizes and formats not listed in the HTML.
  • Run on homepage URLs -- favicons are almost always defined on the homepage, so you usually only need to check one URL per domain.
  • Combine with OG Meta Extractor -- pair favicon extraction with OG image extraction for a complete visual brand audit.

FAQ

What favicon formats does it detect? It detects ICO, PNG, SVG, Apple touch icons, mask icons, and web app manifest references. It also checks for the standard /favicon.ico fallback path.

Does it download the actual favicon files? No. The actor extracts favicon URLs and metadata (format, sizes, rel) from the page HTML. It does not download or store the actual image files. You can use the returned URLs to download icons separately.

Can it extract favicons from pages behind a login? No. The actor makes standard HTTP requests without authentication and can only process publicly accessible pages.

What is the difference between defaultFavicon and the favicons array? The defaultFavicon field is the URL of the standard /favicon.ico fallback path. The favicons array contains all favicon references found in the HTML <link> tags, which may include multiple sizes, formats, and types (Apple touch icon, SVG, etc.).

How many URLs can I process in one run? There is no hard limit. The actor processes URLs concurrently and is very affordable at $0.0005 per URL, making it practical to extract favicons from thousands of websites in a single run.

What if a page has no favicon? The actor will still return a result for that URL with hasFavicon set to false and an empty favicons array. The defaultFavicon field will be null if the /favicon.ico fallback also does not exist.

Does it resolve relative favicon URLs? Yes. Relative favicon paths found in the HTML are resolved to absolute URLs based on the page's base URL, so all returned URLs are directly usable.