apple-touch-icon

Apple Touch Icon Generator

Create the apple-touch-icon (180×180) iOS uses for home-screen shortcuts — plus a full favicon set and the link tag — in your browser.

apple-touch-icon 180+ favicon set100% freeNo sign-up

拖入图片以生成 Favicon

拖放、粘贴或选择文件

PNG · JPG · WebP · SVG — 图标在您的设备上生成

The icon iOS shows on the home screen

When someone adds your site to their iPhone or iPad home screen, iOS looks for an apple-touch-icon — a 180×180 PNG referenced with a specific link tag. This tool generates it from your image, along with the rest of a modern favicon set so every device is covered.

Because iOS does not use transparency for these icons, you can set a solid background and a touch of padding so your logo fills the rounded tile nicely. The matching HTML line is included so you can paste and go.

How to make an apple-touch-icon

  1. Add your image — a square logo at high resolution gives the cleanest result.
  2. Set a background — pick a solid color, since iOS icons aren't transparent.
  3. Adjust padding — leave a small margin so the mark isn't cut by the rounded mask.
  4. Download & paste — copy apple-touch-icon.png to your root and add the provided link tag.

Tip: 180×180 covers modern iOS

A single 180×180 apple-touch-icon is enough for current iPhones and iPads; older devices downscale it. The generated HTML includes the correct rel="apple-touch-icon" line.

apple-touch-icon: sizes and where each is used

当有人把你的网站添加到 iPhone 或 iPad 主屏幕时,iOS Safari 会查找由特定 link 标签引用的 apple-touch-icon。一个尺寸即可覆盖现代 iOS:

Size File Where it's used
180 × 180 px apple-touch-icon.png 当前 iPhone 和 iPad 上的主屏幕和书签图标;iOS 会把这一个文件缩小用于更小的场景。

Format & container

将其保存为 PNG 并保持完全不透明——iOS 会忽略主屏幕图标的透明度,并把任何 alpha 渲染为黑色,因此请设置纯色背景,并在圆角遮罩内留一点内边距。

How it's wired into your page

                <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
              

Tip

如今一个 180 × 180 的图标就足够了——旧设备会自行缩小它——因此不再需要过去网站附带的那一长串旧版 apple-touch-icon-precomposed 尺寸。

所有 Favicon 与图标工具

常见问题

What size is the apple-touch-icon?

180×180 px. That single size covers modern iOS devices, which downscale it as needed for smaller contexts.

Does it need a transparent background?

No — iOS ignores transparency for home-screen icons and adds its own rounded mask, so a solid background is recommended.

Where is the icon created?

In your browser, on your own device. How any data associated with the tool is handled is described in our privacy policy.

What HTML do I add?

A <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> tag in your page head — it's included in the snippet you can copy here.

更多图片工具