Embed TrueCountrySizes

Add our interactive country size comparison tool to your website for free

Generate Your Embed Code

Customize your embed and copy the code below. The widget is free to use and works on any website with HTTPS.

Configuration

Use 3-letter country codes separated by commas

Allow users to search and add countries

Preview

🌍

Interactive map will appear here

Size: responsive | Controls: Visible

Embed Code

<iframe src="https://truecountrysizes.com/?embed=true" width="100%" height="600" style="border: none; border-radius: 8px;" title="TrueCountrySizes Interactive Map"></iframe>

How to Use

1

Copy the embed code

Click the copy button above to copy the iframe code

2

Paste in your HTML

Add the code to your website where you want the map to appear

3

That's it!

The interactive map will load automatically

Why Embed TrueCountrySizes?

Perfect for educational websites, blogs, and any content related to geography, data visualization, or world facts.

🎓 Educational

Help students and readers understand the true size of countries without map projection bias. Perfect for geography lessons and articles.

⚡ Fast Loading

Optimized for performance with lazy loading and CDN delivery. Won't slow down your website or affect your page speed scores.

📱 Responsive

Works perfectly on all devices - desktop, tablet, and mobile. The interface adapts automatically to screen size.

🔧 Customizable

Pre-load specific countries, hide controls, or adjust the size. Configure it to match your content needs perfectly.

🆓 Free Forever

No registration, no API keys, no limits. The embed is completely free to use on any website, blog, or educational platform.

🔒 Secure

Served over HTTPS with proper security headers. Safe to embed on any website without compromising security.

Technical Requirements

  • HTTPS website (required for iframe security)
  • Modern web browser (Chrome, Firefox, Safari, Edge)
  • JavaScript enabled
  • Minimum 300px width recommended
  • Responsive design adapts to mobile and desktop
  • No dependencies or additional scripts required
  • HTTPS required for embedding (for security)

Customization Options

URL Parameters

  • c=USA,CHN - Pre-load countries
  • controls=false - Hide controls
  • embed=true - Embed mode

Country Codes

  • Use 3-letter ISO codes (USA, CHN, BRA)
  • Special: AFRICA, EUROPE, ASIA
  • US States: ALASKA, TEXAS, etc.

Performance

The embed loads asynchronously and won't block your page. Initial load is under 500KB, with map tiles loading on-demand. The widget is optimized for performance and uses CDN delivery for fast global access.

Need Help?

We're here to help you get the most out of TrueCountrySizes