Forge automatically refactors, optimizes, generates new files, and cleans your code while preserving functionality. All changes are safely managed through Git branches with complete version control.
Deepseek - All Features
• Code Refactoring
• Custom File Generation
• File Optimization
• Complete Feature Access
GPT-5-mini - All Features
• Code Refactoring
• Custom File Generation
• File Optimization
• Premium AI Model
Currently supporting Next.js and React.js projects
Equal Access: All users get the same powerful features, just with different AI models
Complete file replacement and code transformation using advanced AI models
Rewrites entire codebases while preserving unselected files. Free users get Deepseek , Pro users get GPT-5-mini
Automatically detects and analyzes React and Next.js projects for targeted refactoring
Modern web-based UI for selecting files with word count limits and progress tracking
Follow these simple steps to transform your codebase with AI-powered refactoring







Open Extensions
Search For "Forge Code Refactor"
How to use three buttons in the extension

Intelligently restructure and improve your existing code while maintaining functionality. Perfect for cleaning up legacy code and implementing best practices with AI-powered analysis.
Select model
Paste yout api key
Select files
Click on refactor button

Create new code components, functions, or entire modules from natural language descriptions. Accelerate development with AI-powered code creation that follows your project patterns.
Select model
Paste yout api key
Selecting files is optional
Give prompt and press generate

Enhance code performance, reduce complexity, and improve efficiency. Automatically identify bottlenecks and suggest performance improvements for individual files.
Select model
Paste yout api key
Select any one file
Press optimize
Choose your plan and get your API key to start using the extension
Get started with OpenRouter
Step 1: Visit OpenRouter
Go to OpenRouter LLM platform to get your free API key
Step 2: Generate API Key
Create your account and generate your API key
Step 3: Use in Extension
Copy your API key from the website and paste it in the extension's API Key tab
Premium features & support
Step 1: Navigate to API Tab
Go to the API Key tab in this page
Step 2: Generate Your Key
Click generate to create your premium API key
Step 3: Use in Extension
Copy and paste your API key in the extension
Watch these videos to see the extension in action and learn how to use it effectively
Complete walkthrough of installing and setting up the Forge Code Refactor extension
See the extension's powerful features in action with real code examples
Live demonstration of refactoring, generating, and optimizing code with the extension
All features included in both plans. Free users get Deepseek via OpenRouter, Pro users get GPT-5-mini.
Bring your own OpenRouter API key
Use your OpenRouter API key for free models
Resets daily at midnight
exclusive of tax
Premium AI model included
Premium AI model with enhanced capabilities
Resets daily at midnight
Have questions about Forge? Need help with integration? We'd love to hear from you.
Drop us an email and we'll get back to you as soon as possible.
newujjwalpatel@gmail.com📧 We typically respond within 24 hours
Help us improve Forge by sharing your experience, suggestions, or reporting any issues you've encountered.