CLI Tool Utilities & Power Tools ★ 6,173 stars on GitHub

pywebview

Create native desktop user interfaces for Python programs using standard web technologies like HTML, CSS, and JavaScript.

Get Command-Line Tool →
Command-Line Utility (No Graphical Interface): This program runs inside your system terminal or command prompt rather than opening a desktop window. Follow the official installation instructions below.

Guide and Overview

What it does in plain English

This tool lets you build native desktop user interfaces for your Python programs using standard web technologies like HTML, CSS, and JavaScript. It opens a clean, lightweight window powered by the operating system’s built-in web viewer rather than shipping a heavy browser package. Developers can easily manage windows, handle system dialogs, and create a smooth bridge where JavaScript and Python communicate directly.

Who it’s for

  • Python developers who want to create modern, attractive desktop user interfaces without learning complicated desktop toolkit languages.
  • Web developers looking to package existing web applications into standalone, installable desktop programs for Windows, macOS, and Linux.

Key features

  • Uses native system windows to keep application files remarkably small and lightweight.
  • Built-in HTTP server lets you host local web assets smoothly inside the application.
  • Seamless two-way communication between Python scripts and JavaScript front-end code.
  • Access to native operating system menus, file dialogs, and window management controls.

How to install (Download)

You can install this project directly through the Python package manager by running pip install pywebview in your terminal. For additional setup instructions and system dependencies, visit the Official Pywebview Website.

Pros and Cons

  • Pros: Keeps final application file sizes very small, supports multiple operating systems, and blends web interfaces seamlessly with native desktop menus.
  • Cons: Requires a basic understanding of Python alongside web technologies, and underlying window behavior can vary slightly across different operating systems.

Optional commercial services unrelated to the open-source developer. Clicking an #ad link helps fund HubHum at no extra cost to you.

  • ★ Top Recommended — Systeme.io: Free-forever all-in-one platform to build landing pages, newsletters, and automated workflows with zero monthly fees — Activate Systeme.io → (#ad)
  • AdGuard: Block intrusive ads, tracking scripts, and phishing domains system-wide across all browsers and desktop apps — AdGuard (#ad)
  • InterServer: Launch and host self-hosted web apps 24/7 on managed Linux cloud VPS servers starting at $3/month — InterServer (#ad)

Official Source & Credits: Official Source / Credits

Affiliate transparency (#ad): Some links on this page are affiliate links. If you choose to activate a service through them, we may earn a commission at no extra cost to you.

Your Saved Favorites

Your favorite apps are saved right here in this browser.


Sign in with one click to link your GitHub profile and sync favorites.