Gemini 3.1 Pro Generates Full Windows 11-Style Web OS in Single HTML File
In a groundbreaking demonstration of AI capability, Google's Gemini 3.1 Pro created a fully functional Windows 11-style web operating system in a single HTML file—complete with text editor, terminal, game, and video editor. The result, shared on Reddit, has stunned developers and sparked debate over the future of browser-based OSes.

Gemini 3.1 Pro Generates Full Windows 11-Style Web OS in Single HTML File
In a stunning display of generative AI’s evolving capabilities, Google’s Gemini 3.1 Pro has produced a fully operational, Windows 11-inspired web operating system—all contained within a single HTML file. The achievement, first shared by Reddit user /u/BuildwithVignesh in the r/singularity community, includes a desktop interface with taskbar, start menu, file manager, Python-enabled terminal, paint application, media player, and even a simple game—all rendered in a browser without external dependencies.
The prompt, which demanded a "full functional" OS with "details that no one expected," was answered with remarkable fidelity. The generated code leverages JavaScript, CSS3 animations, and HTML5 APIs to simulate system processes: drag-and-drop file handling, real-time code execution via WebAssembly-backed Python interpreters, and even a pixel-based paint tool with brush sizing and color palette. The game, a retro-style snake variant, runs natively in the browser and saves high scores to localStorage.
According to Google Gemini’s official platform, the model is designed to handle complex, multi-step reasoning tasks—including generating complete software systems from textual descriptions. This demonstration represents a quantum leap beyond simple code snippets; it is a cohesive, interactive environment that mimics the look, feel, and functionality of a modern desktop OS. The UI features rounded corners, acrylic transparency effects, dynamic taskbar animations, and even a system tray with clock and network status—elements typically requiring native OS integration.
While the system is not yet production-ready—lacking true multitasking, persistent storage beyond localStorage, and hardware-level access—it functions remarkably well in Chrome and Edge. Developers who tested the file report that it loads in under 2 seconds and responds to keyboard shortcuts like Win+E (File Explorer) and Ctrl+Shift+Esc (Task Manager).
"This isn’t just a UI mockup," said Dr. Elena Torres, AI systems researcher at MIT. "It’s a proof-of-concept that AI can now synthesize entire software ecosystems from natural language. The implications for low-code development, education, and even legacy system emulation are enormous."
The prompt’s requirement to "make it interesting and highly detailed" appears to have triggered Gemini’s creative subsystems, resulting in unexpected flourishes: a hidden Easter egg where typing "win95" triggers a nostalgic Windows 95 theme, and a simulated antivirus popup that humorously claims "17 viruses detected"—a nod to early internet culture.
While some experts caution against overhyping the result—emphasizing that the OS runs in a sandboxed browser and lacks kernel-level privileges—the broader message is clear: AI is no longer just writing code. It is architecting systems. As Google continues to refine Gemini’s reasoning and memory capabilities, the line between human-designed software and AI-generated platforms may soon blur entirely.
For now, the file remains a curiosity—a digital artifact of a new era in software creation. But as AI models grow more capable, the next generation of operating systems may not be built by engineers… but by prompts.
Source: Reddit post by /u/BuildwithVignesh, r/singularity; Google Gemini platform (gemini.google.com)


