Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Embedded web server for C/C++
C HTML Makefile C# Other
Branch: master
Failed to load latest commit information.
docs Update example
examples Remove examples/web_server
jni Fixed Android build
scripts Moved examples/ -> scripts/
test Fix unit test
LICENSE Updated years Added Gitter badge
mongoose.c Fix VS2013 warnings
mongoose.h Fix unit test

Mongoose Web Server

Join the chat at

Mongoose is the most easy to use web server on the planet. A web server of choice for Web developers (PHP, Ruby, Python, etc) and Web designers.

Mongoose is built on top of Libmongoose embedded library, which can turn anything into a web server in 5 minutes worth of effort and few lines of code. Libmongoose is used to serve Web GUI on embedded devices, implement RESTful services, RPC frameworks (e.g. JSON-RPC), handle telemetry data exchange, and perform many other tasks in various different industries including aerospace, manufacturing, finance, research, automotive, gaming, IT.

Check out Fossa - our embedded multi-protocol library with TCP,UDP,HTTP,Websocket,MQTT,DNS support, designed for Internet Of Things!


  • Works on Windows, Mac, UNIX/Linux, iPhone, Android eCos, QNX and many other platforms
  • CGI, SSI, SSL, Digest auth, Websocket, WEbDAV, Resumed download, URL rewrite, file blacklist
  • Custom error pages, Virtual hosts, IP-based ACL, Windows service, HTTP/HTTPS client
  • Simple and clean embedding API. The source is in single mongoose.c file to make embedding easy
  • Extremely lightweight, has a core of under 40kB and tiny runtime footprint
  • Asynchronous, non-blocking core supporting single- or multi-threaded usage
  • On the market since 2004 with over 1 million cumulative downloads
  • Stable, mature and tested, has several man-years invested in continuous improvement and refinement


Download, double-click to start, run browser -- that's all!

shot1 shot2

shot3 shot4


People who have agreed to the Cesanta CLA can make contributions. Note that the CLA isn't a copyright assigment but rather a copyright license. You retain the copyright on your contributions.


Mongoose is released under commercial and GNU GPL v.2 open source licenses. The GPLv2 open source License does not generally permit incorporating this software into non-open source programs. For those customers who do not wish to comply with the GPLv2 open source license requirements, Cesanta offers a full, royalty-free commercial license and professional support without any of the GPL restrictions.

Other products by Cesanta

  • Fossa - Multi-protocol networking library
  • SSL Wrapper - application to secure network communications
  • Frozen - JSON parser and generator
  • SLRE - Super Light Regular Expression library
  • V7 - Embedded JavaScript engine
Something went wrong with that request. Please try again.