The most comprehensive, free, and privacy-focused online iframe tool.
Iframe Generator is a modern, responsive web application designed to simplify the process of creating and customizing iframes. Whether you need a simple website embed, a responsive YouTube video player, or a custom Google Map, this tool provides clean, SEO-friendly code without requiring any technical expertise.
Built with performance and user experience in mind, it features a real-time preview, multi-language support, and a responsive design system.
-
🛠️ Versatile Generators:
- Iframe Generator: Create custom iframes for any URL with adjustable width, height, and border settings.
- Google Maps Embed: Generate map embeds instantly without needing an API key.
- YouTube Embed: Customize YouTube video players with advanced options (autoplay, mute, loop, controls).
- Responsive Checker: Preview how your iframes look on different devices (Mobile, Tablet, Desktop).
-
🌍 Internationalization (i18n):
- Fully localized in 6 languages: English, Chinese (中文), Spanish (Español), Japanese (日本語), German (Deutsch), and French (Français).
- SEO-optimized URL structure (e.g.,
/es/google-maps-iframe-generator).
-
⚡ Modern Tech Stack:
- Built on Next.js 15+ (App Router) for server-side rendering and static generation.
- TypeScript for type safety and developer experience.
- Tailwind CSS for a responsive, dark-mode ready UI.
- Cloudflare Workers ready for high-performance edge deployment.
-
🎨 User Experience:
- Dark Mode support.
- Real-time syntax highlighting for generated code.
- Copy-to-clipboard functionality.
- Framework: Next.js
- Language: TypeScript
- Styling: CSS Modules / Tailwind CSS idea
- Internationalization: next-intl
- Deployment: Cloudflare Workers (@opennextjs/cloudflare)
- Icons: Lucide React
- Node.js 18+
- npm or yarn
-
Clone the repository:
git clone https://github.com/zensife/iframe-generator.git cd iframe-generator -
Install dependencies:
npm install
-
Run the development server:
npm run dev
The application will be available at http://localhost:3000.
To build the project for standard Next.js deployment:
npm run buildTo build and deploy to Cloudflare Workers:
npm run deploy├── src/
│ ├── app/ # Next.js App Router pages
│ │ ├── [locale]/ # Localized routes
│ │ └── api/ # API routes
│ ├── components/ # React components
│ │ ├── content/ # Content sections
│ │ ├── tools/ # Generator tools logic
│ │ └── ui/ # Reusable UI components
│ ├── data/ # Static data & content
│ │ ├── seo-content/ # Localized SEO metadata
│ │ └── static-content/ # Localized static pages (Privacy, Terms, etc.)
│ ├── i18n/ # Internationalization config
│ ├── messages/ # JSON translation files
│ └── styles/ # Global styles
├── public/ # Static assets
└── ...
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
Project Link: https://github.com/zensife/iframe-generator