-
-
ToneLens landing page with AI-powered tone analysis and message rewriting.
-
Enter any message to analyze its emotional tone before sending.
-
AI detects tone, explains the reasoning, and provides confidence scores.
-
Rewrite messages to improve clarity, empathy, and professionalism.
-
Complete analysis including detected tone, explanation, and improved rewrite.
Inspiration
Misunderstandings often arise not because of what we say, but how it is perceived. A message intended as honest feedback can unintentionally sound rude, while a brief reply may come across as cold or dismissive.
We wanted to build a tool that helps people understand the emotional impact of their words before they hit Send. Rather than focusing only on grammar or spelling, ToneLens analyzes tone, explains why it was detected, and suggests a more effective way to express the same message while preserving the user's original intent.
What it does
ToneLens is an AI-powered communication assistant that analyzes the emotional tone of text messages in real time.
Users can enter any message and instantly receive:
- 🎯 AI-powered tone detection (Friendly, Professional, Confident, Frustrated, Sarcastic, and more)
- 🧠 An explanation of why that tone was identified
- ✨ A rewritten version that communicates the same intent more clearly
- 📊 Confidence scores for the detected tone
Whether it's an email, text message, or professional conversation, ToneLens helps users communicate with greater clarity, empathy, and confidence.
How we built it
ToneLens was built using a modern web development stack focused on performance and user experience.
Tech Stack
- Frontend: Next.js + React
- Styling: Tailwind CSS
- AI: Google Gemini API
- Deployment: Vercel
The application sends the user's message to Gemini using carefully engineered prompts. The AI analyzes the emotional tone, explains the reasoning behind its prediction, and generates a rewritten version that improves clarity while maintaining the original meaning.
We also optimized the prompting strategy to produce consistent, accurate, and human-like responses across different writing styles.
Challenges we ran into
One of the biggest challenges was achieving reliable and consistent tone detection.
Large Language Models occasionally focused on less relevant parts of a message or produced inconsistent interpretations. We spent considerable time refining prompts, improving response formatting, and validating outputs to make the analysis more dependable.
Another challenge was balancing response quality with speed. Since AI requests can occasionally fail or become temporarily unavailable, we implemented retry logic and improved error handling to ensure a smoother user experience.
Accomplishments that we're proud of
- 🚀 Built a complete AI-powered communication assistant from scratch.
- 🤖 Successfully integrated Google's Gemini API for tone analysis and rewriting.
- 💬 Created meaningful AI explanations instead of simply assigning emotion labels.
- ✨ Developed an intelligent message rewriting feature that preserves the user's intent.
- 🎨 Designed a clean, intuitive, and responsive user interface.
- 🌐 Successfully deployed the application for public use.
What we learned
Building ToneLens taught us that creating useful AI products requires much more than connecting an API.
We learned how powerful prompt engineering can be in improving response quality, consistency, and reliability. Throughout development, we also gained practical experience with Next.js, API integration, frontend design, deployment, and designing AI features that solve real communication problems instead of simply demonstrating AI capabilities.
Most importantly, we learned that small improvements in communication can have a significant impact on everyday interactions.
What's next for ToneLens
We plan to continue improving ToneLens with features that make communication even more intelligent and personalized.
Future improvements include:
- 🌍 Multi-language support
- 📧 Email and browser extensions
- 📈 Conversation history and communication insights
- 👥 Team collaboration features
- 🎯 Personalized writing styles and preferences
- ⚡ Real-time suggestions while typing
- 🎙️ Voice tone analysis for spoken conversations
- 🧠 Specialized AI models for workplace, education, and customer support communication
Our long-term vision is to make ToneLens an everyday AI communication companion that helps people express themselves with greater confidence, empathy, and clarity.
Built With
- 2.5
- gemini
- react
- tailwindcss
- typescript
- vercel


Log in or sign up for Devpost to join the conversation.