hostserrer for macOS, Windows and Linux

Hosts File Manager for macOS, Windows and Linux

Manage your system hosts file from a single structured library. Group records into composable packages, inspect side-by-side diffs before writing, and isolate changes to a dedicated managed block. Free, open source, with automatic backups before every apply and ready-made installers for every platform.

  • Diff preview before every write
  • Automatic backup before apply
  • Isolated managed block

Free software · MIT · personal side project

Runs on
macOS, Windows and Linux
Built with
TypeScript on Electron and React
Writes
One marked block, nothing else
Network
Manual diagnostics only

A central record library instead of duplicate files

Traditional hosts managers swap entire files, forcing you to hunt down and update the same IP across multiple copies. hostserrer treats each IP mapping as an independent record in a central library. Update an IP once, and every package referencing it updates instantly.

  • IP address, hostnames, and notes unified in a single row
  • Real-time input validation to prevent syntax and formatting errors
  • A "Used in" column naming every package that references each record
  • Import by pasting lines or dropping a file: another hosts file or a blocklist
  • Built-in ping, traceroute, and DNS propagation lookups

Composable packages stacked with clear priority

Packages are curated selections from your record library. Activate multiple packages simultaneously with deterministic precedence—higher-priority packages cleanly override earlier ones. Stack a base blocklist, local dev environments, and staging overrides without manual conflict editing.

  • Toggle individual records on or off without removing them from packages
  • Filter library records and perform bulk selections or status toggles
  • Numbered stack order where a higher number overrides a lower one
  • Status bar displays pending additions and removals before applying

Inspect the full diff before anything touches disk

The preview dialog displays the exact changes before writing. Conflicting hostnames are highlighted with the winning package and the overridden source clearly identified. Existing entries outside the block that would shadow your rules are flagged and safely handled with optional commenting.

  • Unified or side-by-side diff views, for changes only or the whole file
  • Explicit conflict resolution showing winning and overridden packages
  • Optional commenting for upstream entries that would shadow the managed block
  • Restores original upstream lines byte-for-byte when active rules change

Dedicated managed block preserves existing entries

All changes written by hostserrer are strictly contained between two designated marker comments. Docker configs, VPN routes, and manual system entries outside these markers remain untouched. Disabling all packages completely removes the block and restores the clean file.

  • Block header documents the package stack, with each package under its own heading
  • Overridden records are preserved as annotated comments explaining precedence
  • Automatic timestamped backups before each write, manual backups on demand, in a folder you choose
  • Verifies writes by reading back and comparing disk contents before completion

See it working

Take a look at the user interface of the application.

How every FlosForge app works

  • No telemetry

    No analytics, no crash reporting, no usage pings. Not configurable — simply absent.

  • Local storage only

    Your data stays on your own device, stored in private application sandboxes under your control.

  • Open exports

    Everything exports to standard formats you own (CSV, GPX, JSON, Markdown), with zero lock-in.

Getting it running

Download a prebuilt installer from the GitHub Releases page, or clone the repository and run it from source. Both give you the same app; building from source lets you audit the complete codebase before giving it access to your hosts file.

Before you start

The builds are not code-signed, so macOS Gatekeeper and Windows SmartScreen will warn you the first time you open the app. Download installers only from the project’s GitHub Releases page, or build from source. hostserrer modifies your system hosts file, which controls hostname resolution for every application: inspect the diff before applying, and use Restore to return to your original hosts file whenever needed.

What you need first

  • macOS, Windows, or Linux, on x64 or ARM64
  • Linux: polkit (pkexec), which most desktop distributions include
  • To run from source: Node.js 22.12 or newer, and Git
hostserrer on GitHub
  1. Download a build

    Choose the file for your platform from the Releases page: a .dmg for macOS (Apple silicon or Intel), an .exe installer for Windows (x64 or ARM), or an AppImage or .deb for Linux (x64 or ARM). SHA256SUMS.txt lists a checksum for every file.

  2. Open it the first time

    On macOS, open the app, then click Open Anyway in System Settings → Privacy & Security. On Windows, click More info, then Run anyway on the SmartScreen dialog. On Linux, make the AppImage executable or install the .deb with your package manager.

    chmod +x hostserrer-*.AppImage
  3. Or run it from source

    Clone the repository and install dependencies with npm.

    git clone https://github.com/dimitriostzr/host-file-editor-crossplatform.git
    cd host-file-editor-crossplatform && npm install
  4. Explore in isolated demo mode

    From source, launch a self-contained sandbox with sample records and packages. It writes to a temporary directory without administrative privileges, clearly badged in the title bar.

    npm run demo:app
  5. Run against your system hosts file

    Launch the app in live mode. Applying changes triggers your OS elevation prompt (osascript, UAC, or pkexec) only when committing writes. From source you can also point it at any other hosts file.

    npm start
    HOSTSERRER_HOSTS_PATH=/tmp/sandbox-hosts npm start

Free software · MIT · not sold

Free and open source

hostserrer is released under the MIT License. It is not sold — there is no paid version, no licence key and no tier — and the licence is the whole arrangement. In plain terms:

A personal project, made for fun. hostserrer is something I build in my spare time, mostly because I wanted it myself. It is not a commercial product and there is no team or support contract behind it. Take it as the hobby tool it is: expect rough edges, double-check what it tells you, and do not rely on it for anything critical.

  • Free and open source software: no licenses to purchase, no paywalls, and no subscription tiers.
  • Full freedom to use, inspect, modify, and distribute for personal or commercial workflows.
  • Redistributed copies and derivatives must keep the original copyright notice and the MIT licence text.
  • Provided as-is without warranty. Always review the generated diff preview before applying changes to system files.

Free, and the source is public

hostserrer for macOS, Windows and Linux is free software, published in full on GitHub. Download it, audit it, or fork it. It is offered without a support commitment, so read the README first and try it on a machine you can afford to experiment with.

Download from GitHub View on GitHub

No account, no telemetry, nothing reported back.

Trademarks and affiliation

FlosForge is an independent, one-person project. It is NOT affiliated with, endorsed by, sponsored by, certified by, approved by or connected in any way to any of the companies or organisations named below, or to any other company whose products, services or trademarks appear anywhere on this site or inside its screenshots. None of them has reviewed, approved or supported this software, and no such relationship is claimed or implied. Their names appear here for one reason only: to identify the software the pages are talking about.

Apple Inc.
Apple, macOS, Mac, the Mac App Store, Touch ID, Keychain, Apple Intelligence, AirTag, AirPods and Find My
Microsoft Corporation
Microsoft, Windows, Visual Studio, WinUI and .NET
Google LLC
Google, Android, Google Play, Google Drive, Health Connect, Find Hub and Gemini
Samsung Electronics Co., Ltd.
Samsung, Galaxy, Samsung Health, SmartTag and S Pen
the WordPress Foundation
WordPress
Linus Torvalds
Linux, registered in the U.S. and other countries
The MITRE Corporation
CVE (registered trademark) and CWE
Docker, Inc.
Docker
the OpenJS Foundation
Node.js and Electron
Cloudflare, Inc.
Cloudflare and R2
Amazon.com, Inc. or its affiliates
Amazon Web Services, AWS and Amazon S3
GitHub, Inc.
GitHub
Garmin Ltd. or its subsidiaries
Garmin, Garmin Connect, Forerunner, fēnix, Edge, Venu, Epix and Body Battery
Bluetooth SIG, Inc.
the Bluetooth® word mark and logos
the OpenStreetMap Foundation
OpenStreetMap
Yoast BV
Yoast
reMarkable AS
reMarkable, reMarkable 2 and reMarkable Paper Pro

cURL, Python, Ollama, Tile, Chipolo, Pebblebee, Meta, Ray-Ban, Flipper Zero, GoPro, Backblaze, Wasabi, MinIO, GeoNames, OpenTopoMap, NVD (National Vulnerability Database), the security advisory databases named on the project pages, and every other product, brand or company name shown on this site or inside its screenshots are the property of their respective owners. This product uses data from the NVD API but is not endorsed or certified by the NVD. Each mark is used nominatively — to identify the software, platforms or data sources concerned — and never as a badge of origin, quality or endorsement.