A lightweight web application that automatically detects languages in text using AI technology. Built with vanilla HTML, CSS, and JavaScript.
-
Three Detection Modes:
- Simple: Primary language detection
- Detailed: Multiple language analysis
- Comprehensive: Full linguistic analysis
-
Visual Results:
- Country flags for 40+ languages
- Confidence percentage with progress bar
- Language rankings and statistics
-
Built-in Samples: Quick test with English, Spanish, French, Chinese, Japanese, and mixed language texts
- Open
index.html
in your browser - Enter your OpenAI API Key
- Select detection mode
- Paste text or click sample buttons
- Click "Detect Language"
- OpenAI API Key (Get one here)
- Modern web browser
Supports 40+ languages including:
- Asian: Traditional Chinese 🇹🇼, Simplified Chinese 🇨🇳, Japanese 🇯🇵, Korean 🇰🇷
- European: English 🇺🇸, Spanish 🇪🇸, French 🇫🇷, German 🇩🇪, Italian 🇮🇹
- Others: Arabic 🇸🇦, Hindi 🇮🇳, Russian 🇷🇺, Portuguese 🇵🇹
English:
Hello, how are you today? I hope you're having a wonderful day!
Traditional Chinese:
你好,你今天怎麼樣?我希望你今天過得很愉快!
Mixed Languages:
Hello! Bonjour! 你好! こんにちは! Multiple languages in one text.
├── index.html # Main application
└── README.md # This file
- Pure HTML/CSS/JavaScript
- OpenAI GPT-3.5-turbo API
- No build process required
MIT License