Free Tool

Free App Store & Play Store Link Generator

Build one smart link that automatically sends iOS users to the App Store and Android users to Google Play. Free, no signup - a single App Store link for every mobile platform, ready for email, ads, social, and QR codes.

Want a custom web fallback for desktop visitors?

Sign up to create a link with device routing so desktop visitors land on your own website while iPhone and Android users go straight to the app stores.

Sign up to add a web fallback
Enter at least one destination URL to generate the smart link
No signup required
Free forever
GDPR compliant
Powered by U2L

Quick Answer

An App Store link generator builds a single smart URL that detects the visitor's platform (iOS or Android) and redirects to the matching app store. Mobile-first marketing campaigns share one link across email, social, and ads instead of 'iOS users click here / Android users click here'. The U2L Smart Link API handles UA detection at the edge with sub-50ms latency, no signup required.

Quick Facts

  • A single URL routes iOS visitors to apps.apple.com (App Store) and Android visitors to play.google.com (Play Store) - one link replaces 'iOS users tap here, Android users tap here'. Desktop and other visitors fall back to whichever store link you set.
  • Detection is User-Agent-based, runs on Cloudflare Workers at the edge. Sub-50ms median response time.
  • Validation prevents abuse: only store hosts are accepted - iOS URLs on apps.apple.com / itunes.apple.com and Android URLs on play.google.com - so the link can never be used as an open redirect.
  • No tracking by default - the redirect is stateless (no DB, no logs beyond Cloudflare's own request log).
  • For tracked smart links with click analytics + custom slugs, sign up free for U2L Pro and create the smart link via the dashboard.
  • The generator outputs the full API URL plus an HTML embed snippet you can drop into landing pages, ads, and email signatures.
  • Works across iOS, iPadOS, and Android - including the in-app browsers on Instagram and TikTok; desktop and other visitors fall back to a store link.

How to build a smart app-store link

Three steps. Paste store URLs, copy the smart link.

  1. 1

    Paste your App Store URL

    Get your iOS app's App Store URL (apps.apple.com/.../id123456789). Paste it into the iOS field. The validator confirms the URL is on an Apple-controlled host.

  2. 2

    Paste your Play Store URL

    Get your Android app's Play Store URL (play.google.com/store/apps/details?id=com.example). Paste into the Android field.

  3. 3

    Copy your smart link

    Copy the smart link URL or the ready-made HTML embed snippet, then drop it into email, ads, social posts, or a QR code. Desktop visitors fall back to whichever store link you set.

What is a App Store Link Generator?

App Store Link Generator is a tool that generates a single URL that intelligently routes mobile visitors to the matching app store. iOS visitors go to the App Store; Android visitors go to Play Store; desktop visitors fall back to a store link. Marketing teams use one smart link across email, ads, and social to avoid 'click here for iOS, here for Android' UX friction.

The mechanism is User-Agent (UA) sniffing. The visitor's browser sends a UA string in every HTTP request; the smart link's redirect server parses the UA, detects the platform, and 302-redirects to the appropriate destination. iPhone / iPad UAs match iOS; Android UAs match Android; everything else (desktop browsers, bots) falls back to a store link.

Smart links solve a real friction problem. If you tweet 'install our app: bit.ly/abc' to a mixed audience, half your followers tap, see the wrong app store, and bounce. With a smart link, every tap lands on the right store automatically. Conversion rates improve materially - many teams report 20-40% lift on app-install campaigns.

Beyond mobile-app campaigns, smart links route SaaS marketing pages too: iOS users land on the iOS feature page, Android users on Android, desktop users on the full feature page with screenshots of both. Same idea, different destinations.

How does a App Store Link Generator work?

When a user clicks the smart link, the request hits Cloudflare's edge network. The Worker reads the User-Agent header, runs a regex match (iPhone / iPad / iPod / iPadOS-as-Mac for iOS; Android for Android; everything else for web), and returns a 302 redirect to the matching destination URL.

URL parameters are passed via query string: ?ios=...&android=.... Each is URL-encoded. The endpoint accepts only store URLs - iOS on apps.apple.com / itunes.apple.com and Android on play.google.com - and nothing else, so it can never be used as an open redirector for phishing. To send desktop visitors to your own site, sign up and add a web fallback with device routing on a real u2l.ai link.

Detection is conservative. iPadOS 13+ reports as 'Macintosh' instead of 'iPad' for desktop-class browser features; the detector includes a 'Macintosh + Mobile' fallback to catch this. Older iOS versions and Android variants all match cleanly. Bots and curl requests fall back to a store link.

Caching is intentionally disabled (Cache-Control: private, no-store) because the same URL must return different redirects per visitor's UA. Edge caching this would route Android visitors to the iOS store. The trade-off: every click costs one Worker invocation. At U2L's free-tier rate limits, that's fine for normal use.

Use Cases

How marketers, businesses, and developers use app store link generator.

Twitter / X campaign linking to your mobile app

One link in your tweet works for iOS and Android followers. Tap = correct store. Higher install conversion vs. asking users to pick.

Email newsletter app-promotion section

Newsletters reach mixed-platform audiences. Smart link in the email body works regardless of which device readers tap from.

Ad creative landing-page CTA

Meta / Google ads with a 'download our app' CTA. One smart link routes every tap to the right store, so you never split ad creative by platform or lose the wrong-store clicks.

Conference QR for app installs

Booth banners with a QR encoding the smart link. Attendees scan and land on the right store regardless of phone OS.

Signup confirmation email

After web signup, send a 'install our mobile app' email. Smart link is mobile-platform-aware; the user gets the right store on first tap.

Customer support 'install our app' link

Support agents pasting one universal link in chat. Customer's phone routes correctly. Reduces 'wrong store' support tickets.

Influencer / affiliate app campaigns

Creators with audiences across iOS / Android. One link across YouTube, TikTok, Instagram works for both platforms.

Print ad with QR code

Magazine, billboard, or in-store flyer with a QR. Universal across reader phones; landing in the right store on first scan.

User-onboarding chatbot

Chatbot suggesting the mobile app. Smart link sent in chat - works on whatever device the user opens chat from.

Cross-platform game / app reseller pages

Aggregator pages listing the game with one 'install' button. Smart link routes per visitor.

App Store Link Generator vs Alternatives

Side-by-side feature and pricing comparison with the top alternatives.

FeatureU2LBranch.ioFirebase Dynamic LinksDeepLink.me / others
Free unlimited smart linksFree tierFree (deprecated)Limited
No signup requiredMixed
iOS / Android / web routing
Deferred deep linking (post-install context)
Click analyticsOn signupDeprecated 2025Paid
Cloudflare edge latencyAWS/globalGoogleVarious
Open-redirect protectionStrict allowlistDomain-boundDomain-boundMixed

App Store Link Generator vs Branch.io

Branch.io is the enterprise-grade smart link / deep-linking platform. Deferred deep linking (route a user to a specific in-app screen after install), per-user attribution, full analytics suite. Free tier is generous; paid tiers run $99-$2000+/mo for advanced features.

U2L's smart link is a focused subset: UA-based store routing, no signup, free. For deferred deep linking (the user installed because of an Instagram ad - now route them to the related in-app product page), Branch wins. For 'I just need iOS / Android routing on one link', U2L is faster and free.

App Store Link Generator vs Firebase Dynamic Links

Firebase Dynamic Links was Google's free smart-link product, with deferred deep linking and Firebase Analytics integration. Google announced deprecation in 2024 with a sunset date in late 2025.

U2L's smart link is a stateless replacement covering the basic redirect scenarios. For users migrating off Firebase Dynamic Links, U2L (or Branch) is the natural successor. Branch handles deferred deep linking; U2L handles routing.

Best Practices

Always test on real devices

Open the smart link from an iPhone, then an Android, then a desktop browser. Verify each lands on the right destination. Emulators sometimes report different UAs than real devices.

Use canonical store URLs

App Store URLs come in many formats (apps.apple.com/us/app/name/id123, apps.apple.com/app/id123, itunes.apple.com/...). Use the canonical apps.apple.com format for cross-region compatibility.

Give desktop visitors a real landing page

Desktop clicks can't install a mobile app, so a dedicated /download page that lists both apps with screenshots converts better than a bare store page. Sign in and add a web fallback with u2l.ai link device routing to send desktop visitors there.

Don't cache the smart link

Users on shared networks (corporate Wi-Fi) may share IP with users on other platforms. Caching the smart link routes everyone to one store. The endpoint sets Cache-Control: no-store; respect that in CDNs.

Use UTM parameters on the destinations

Add ?utm_source=smart-link&utm_campaign=q1-launch to the iOS / Android URLs. The store sees the UTM (or it carries through to your in-app analytics). Lets you attribute installs back to specific campaigns.

Pair with a QR code for print / events

Print materials with a QR encoding the smart link. One QR works for all attendees regardless of phone. Use U2L's free QR Generator.

For apps in regional stores, use OneLink-style URLs

Some apps are in different stores per country. Apple's apps.apple.com auto-redirects per-country if you use the canonical /id format. Test in each launch region.

Plan for the Sunday-app-discovery scenario

Users often first see your link on desktop (Twitter / email), then visit on phone hours later. A landing page that says 'open this on your phone' or shows a QR converts these desktop-first visitors better than dropping them on a store page they can't act on.

Common Mistakes to Avoid

Using a non-store URL for iOS or Android

The endpoint validates iOS / Android URLs against the official store hostnames. itunes.com (without 'apple.') is rejected; play.google.com is required (not just google.com).

Setting no store URLs at all

The endpoint needs at least one of iOS or Android - set both so every phone lands on the right store. Desktop and other visitors fall back to whichever store link is present.

Caching the smart link in your CDN

The endpoint serves different responses per UA. Caching it (e.g. Cloudflare cache rule) routes everyone to one store. Respect Cache-Control: no-store.

Relying on the smart link for in-app context

Smart link routes to the store. It does NOT carry context (user ID, referral source, in-app deep link target) into the app post-install. For that, use Branch.io or Firebase Dynamic Links.

Hardcoding region in the App Store URL

apps.apple.com/us/app/... is US-only. Use apps.apple.com/app/...?id=N (no country code) for global routing. Apple auto-detects user's country.

Using shortened App Store URLs (apple.co)

apple.co URLs are valid but can be slow (Apple's redirect server) and aren't fully covered by U2L's allowlist. Use the canonical apps.apple.com URL directly.

Skipping the iPadOS-as-Mac edge case

iPadOS 13+ reports as Macintosh in desktop-class browser features. Without UA-handling for that, iPads land on the fallback instead of the App Store. The U2L detector handles this; manual implementations often miss it.

Technical Specifications

EndpointGET https://u2l.ai/api/tools/app-redirect
Required paramsAt least one of: ios, android
iOS URL validationMust be on apps.apple.com or itunes.apple.com
Android URL validationMust be on play.google.com
Web fallback (desktop)Sign up to add one via link device routing
UA detectionRegex match on iPhone/iPad/iPod for iOS; Android string for Android; iPadOS-as-Mac heuristic
Response302 redirect with Cache-Control: private, no-store
Edge latencySub-50ms median via Cloudflare Workers
TrackingStateless. For analytics, sign up to U2L Pro and create a tracked smart link via the dashboard
Open-redirect protectionStrict allowlist on iOS / Android URLs prevents phishing abuse

Industry-Specific Use Cases

Mobile app marketing

Multi-channel app-install campaigns. One link works across email, social, ads, print. Higher conversion vs. 'pick your platform' UX.

B2B / B2C SaaS with mobile companions

Web product with iOS / Android companion apps. Smart link in onboarding emails routes new users to install on the right phone.

Gaming and entertainment

Game launches needing one URL across all marketing channels. Smart link removes 'wrong store' bounces from cross-platform audiences.

Direct-to-consumer brands

DTC brands launching mobile-app shopping experiences. One link from email / social campaigns to the right store.

Creator economy / influencer marketing

Influencer-driven app installs across mixed-platform audiences. One link in bio works for everyone.

Conference / event tech

Event apps with QR-driven installs. Smart link + QR generator = one printed asset works across all attendee phones.

Frequently Asked Questions

Do I need to sign up to use this?

No. The smart link API is free and stateless - just hit the URL with your iOS / Android destinations as query params. To add a web fallback for desktop visitors, or for click analytics, sign up and create a smart link via the dashboard.

Will the smart link work in social platforms (Instagram, TikTok)?

Yes, but with caveats. In-app browsers on iOS Instagram / TikTok report as iPhone correctly; smart link routes to App Store. Same for Android. Some in-app browsers misreport as desktop - test in your target platforms.

Does it support deferred deep linking?

No. The smart link routes to the store. Once installed, the app doesn't know which smart link drove the install. For deferred deep linking (post-install routing to a specific screen with referral context), use Branch.io or AppsFlyer.

What about iPadOS being detected as macOS?

iPadOS 13+ reports as Macintosh by default. The U2L detector includes a 'Macintosh + Mobile' heuristic to route iPads to the App Store. Most other detectors miss this; ours handles it.

Can I use a custom domain (yourbrand.io/app)?

Yes, on U2L Pro and Business tiers. Sign up free and configure a custom domain. The smart-link redirect runs on your domain instead of u2l.ai.

Will Apple / Google penalize me for using smart links?

No. Smart links are a standard pattern; both stores accept traffic via referrer redirect. The smart link doesn't fake the referrer - the user lands on the real store URL with whatever query params you set.

Why does the URL have to be on apps.apple.com / play.google.com?

To prevent the endpoint from being used as an open redirector for phishing. If we accepted any URL as the iOS destination, attackers could send 'click this link to download our bank app' that redirects iPhone users to a phishing site. Strict allowlist makes that impossible.

How do I track clicks on the smart link?

The free stateless endpoint doesn't track. For analytics, sign up to U2L Pro and create the smart link via the dashboard - it's wrapped in a u2l.ai short link that tracks clicks per platform.

Will the smart link work for my app in non-US stores?

Use the canonical apps.apple.com URL (no country code) for iOS - Apple auto-detects user country and serves the right regional listing. Play Store handles country detection automatically too.

Can I add a custom slug / short URL?

The free stateless endpoint takes URL params (long URL). For a short branded URL (u2l.ai/myapp), sign up free and create a smart link via the dashboard. The dashboard wraps the smart-link logic in a normal short link.

What's the latency?

Sub-50ms median via Cloudflare Workers. The redirect adds one HTTP hop between the click and the app store - imperceptible compared to the store loading time.

Does it support older Android / iOS versions?

Yes. UA detection is keyword-based on stable strings (iPhone, Android) that haven't changed across versions. Works back to iOS 7 / Android 4.x.

Can I track the platform breakdown of my installs?

The smart link itself doesn't track per-click platform. For platform analytics, route the smart link through a u2l.ai short link (Pro tier) which records platform per click in your dashboard.

Will the smart link expose my app store URLs publicly?

Yes - the URL parameters are visible in the smart link itself. Anyone can see your iOS / Android destinations. They're public anyway (anyone can search the App Store and find your app).

Is this OWASP-compliant for redirect handling?

Yes. The endpoint accepts only official store hosts as destinations, which prevents open-redirect (CWE-601). It declines requests with disallowed destinations rather than silently passing them.

What's the difference vs Branch.io's free tier?

Branch's free tier supports deferred deep linking, attribution analytics, and per-link tracking - features U2L's free smart link doesn't have. Branch requires SDK integration in your app + signup. U2L is stateless and immediate. For full deep-link analytics, use Branch; for simple platform routing, U2L.

Does it support cross-platform attribution?

No. The smart link doesn't carry user identity across the install boundary. For 'this user clicked our Instagram ad and installed' attribution, use a full attribution platform (Branch, AppsFlyer, Adjust).

What if my app is only on one platform?

Set just one of ios / android. The smart link routes the matching phone to the store; everyone else (including wrong-platform phones and desktop) falls back to that same store link.

Key Terms

Smart link
A URL that routes visitors to different destinations based on context (platform, country, referrer). Most common use: app-store routing per phone OS.
User-Agent (UA)
An HTTP header sent by every browser identifying the device and browser. Smart links parse UA to detect iOS, Android, or desktop. Format: 'Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) ...'
Deferred deep linking
Carrying context across the app install. User clicks a smart link to install -> after install + first open, the app routes the user to a specific screen with the original context. Requires SDK integration; not supported by U2L's stateless endpoint.
App Store URL
The canonical URL for an iOS app on apps.apple.com (e.g. apps.apple.com/app/id123456789). Apple auto-redirects per user country.
Play Store URL
The canonical URL for an Android app on play.google.com (e.g. play.google.com/store/apps/details?id=com.example).
Open redirect
A vulnerability where an endpoint redirects to any user-supplied URL. Used by phishing attackers to disguise malicious destinations behind a trusted hostname. The U2L smart link prevents this with a strict store-hostname allowlist.
iPadOS-as-Mac
iPadOS 13+ reports as 'Macintosh' in the User-Agent for desktop-class browser features. UA detectors must include a 'Macintosh + Mobile' heuristic to correctly identify iPads.

Want tracked smart links with click analytics?

Sign up free for U2L Pro to create branded smart links (yourbrand.io/install), see per-platform click breakdowns, and edit destinations as your app store listings move. No credit card; takes 30 seconds.

Sign up free