Embedded Web UI Framework for Microcontrollers

Mongoose is an embedded Web UI framework for microcontrollers and IoT devices. It enables developers to build browser-based dashboards, configuration pages, and device management interfaces directly on embedded hardware. The framework combines a lightweight networking library (TCP/IP, TLS, HTTP, WebSocket, MQTT) with a Web UI Wizard that generates device dashboards and web interfaces for embedded systems.
Use Web UI Wizard to evaluate »

Embedded Web Server and Full Networking Stack for Connected Devices

Mongoose diagram
Siemens logo
Bosch logo
Schneider Electric logo
Samsung logo
Broadcom logo
Pilz logo
Google logo

What is Mongoose

Mongoose framework combines a networking library and a visual Web UI designer

Networking library

Networking library contains TCP/IP stack + embedded web server + websocket + mqtt + ota updates in one event-driven library. It is open source, most popular in its category - 12k+ stars on Github.
+

Web UI Wizard

Mongoose Web UI designer allows to build pro device dashboards fast - no frontend skills needed.

Embedded Web UI Examples

Developers use Mongoose to build browser-based user interfaces for embedded devices. These interfaces allow users to configure devices, monitor system status, and control hardware from a standard web browser. Examples include:

Device dashboards

Settings panel, status monitoring and control, real-time graphs display

REST API

Automated health checks, remote device control

Firmware OTA updates

OTA using file upload, or via periodic URL checks, or via cloud MQTT

Embedded Web Server for Microcontrollers

Many embedded web interfaces start from vendor networking examples such as the lwIP httpd example on STM32 or Zephyr's built-in HTTP server. These examples work for simple demos but become difficult to extend when adding TLS, WebSocket communication, device APIs, or real-time dashboards.

Mongoose provides a complete alternative.

It includes an embedded HTTP server, WebSocket support, MQTT, TLS security, and dashboard infrastructure in a single event-driven framework. Mongoose can run on top of lwIP or Zephyr, or it can operate as a stand-alone TCP/IP stack, replacing lwIP while providing a full embedded web server for microcontrollers.

Mongoose architecture

Embedded device web interfaces follow a layered architecture: TCP/IP stack → TLS → application protocols such as HTTP, WebSocket, or MQTT → the device dashboard. Mongoose provides these layers as a single integrated framework, allowing developers to build browser-based dashboards and APIs directly on microcontrollers.
Mongoose architecture diagram

Supported Platforms

Mongoose is extremely cross-platform - it runs on STM32, ESP32, NXP, RP2040/RP2350, Renesas, Microchip, Embedded Linux, desktop Windows/Linux/MacOS, and many other architecture. See the supported hardware documentation page for an extensive list and feature support matrix.

Get running in minutes

Mongoose shines when it comes to building network functionality. To implement a minimal web server in your firmware, copy mongoose.c, mongoose.h to your project and add this piece of code:
Do it yourself - try Mongoose Wizard
Open Mongoose Wizard, select your MCU or platform, select the target project directory and and get a minimal, maintainable skeleton firmware code
OR
Build Faster with a Mongoose Engineer
Schedule a free, hands-on 45-minute session to troubleshoot or optimize development on your own hardware (e.g., solve issues or optimize WebUI). Please have your device and dev environment ready.
Book guided session »

Features

All-in-one
Drivers, TCP/IP, TLS, HTTP, WebSocket, MQTT, JSON, and OTA in two files only.
Mongoose Wizard
Build pro device dashboards fast - no frontend skills needed.
Cross-platform
Runs everywhere - on popular microcontrollers and on desktop and mobile platforms, letting teams reuse infrastructure across products
Fits your firmware
Works with lwIP, Zephyr, NetX, or standalone. On any RTOS or bare metal.
Tiny footprint
Runs on 8-bit MCUs with 6 KB RAM. Built-in TLS enables fast handshakes, using ~50 KB flash and only a few KB RAM per connection.
Security & EU CRA compliance
Get private security fixes before CVEs go public - patch early, stay safe.
Firmware OTA updates
Built-in OTA updates - no need to build your own system.
Support by authors
Support comes from the engineers who built it all. You're never on your own.
Best in class
12.5k Github stars. Runs on ISS by NASA. Licensed by hundreds of companies, big and small. Mongoose is a reliable embedded web server and complete networking framework.

What our Customers say

See case studies for more

Licensing

Mongoose is dual-licensed: GPLv2 and commercial. Use GPLv2 for evaluation and prototyping. Choose a commercial license when shipping production devices.

GPLv2 Open Source

Great for evaluation, prototypes, and learning. Explore the repository and documentation to get started quickly.

Commercial licensing

For shipping proprietary firmware at scale, with developer-led support and a security workflow aligned with production needs.
See licensing details » Request a quote »
We reply the same business day