ngrok made “give me a public URL for my laptop” a one-line job, but it is far from the only way to do it. This guide walks through ngrok alternatives that solve the same problem: you have something running on localhost and you need a client, a teammate, a phone or a webhook provider to reach it. Some are hosted services with free tiers; others are open source projects you can run on your own server.
Details below reflect each project’s official site, docs or GitHub repository at the time of writing (October 2026). Free tiers and limits change often, so confirm on the provider’s own pages.
How to choose an ngrok alternative
Four questions narrow the field quickly:
- Do you need an account? Cloudflare Quick Tunnels, localhost.run, Pinggy’s free tunnels, localtunnel and bore’s public server work without signing up. Tailscale Funnel, Dev Tunnels and zrok need an account.
- Does the URL need to stay the same? Most free, account-free options hand you a random address that changes when you restart. Stable hostnames usually mean an account, a paid plan or your own domain.
- HTTP only, or TCP/UDP too? If you are exposing a database, game server or SSH, check protocol support. bore is TCP-only; frp, zrok and Pinggy cover more.
- Hosted or self-hosted? Self-hosting (frp, bore, zrok, Expose) gives you control over domains and data but means running and securing a server with a public IP.
One more question is worth asking first: does your project need a live server at all? If your prototype is static HTML, you don’t need a tunnel. Made Good Designs’ free HTML to Link tool lets you upload an .html file or a .zip of a site (or paste HTML) and get a temporary link that lasts one hour, 24 hours or seven days, with a click-to-comment layer for reviewers and a FEEDBACK.md export for AI coding assistants. If you only need to look at a file yourself, the HTML Viewer renders HTML in a sandboxed frame in your browser without uploading it.
Cloudflare Tunnel (cloudflared)
Cloudflare Tunnel runs a small daemon, cloudflared, that makes outbound-only connections to Cloudflare’s network, so your machine doesn’t need a public IP or open inbound ports. Cloudflare’s documentation lists it as available on all plans. A full, named tunnel needs a Cloudflare account and a domain on Cloudflare, and gives you a stable hostname that Cloudflare Access rules can protect. The cloudflared client is open source under the Apache 2.0 licence.
Quick Tunnels via trycloudflare.com
For throwaway sharing, Quick Tunnels need no account or domain. Running cloudflared tunnel --url http://localhost:8080 prints a random trycloudflare.com URL that stops working when you stop the process. Cloudflare describes Quick Tunnels as for testing and development only: there is no uptime guarantee, each tunnel is capped at 200 in-flight requests, Server-Sent Events are not supported, and the hostname changes every time. A newer --allowed-mail flag can require visitors to verify an email address with a one-time PIN before they see your service.
localtunnel
localtunnel is an MIT-licensed npm package. npx localtunnel --port 8000 (or lt --port 8000 after a global install) connects to the public localtunnel.me server and gives you a URL for the length of your session. You can request a named subdomain, though you may not get it if it is taken, and the client doubles as a Node.js API for test suites.
Tailscale Funnel
Tailscale Funnel publishes a service from a device on your Tailscale network (tailnet) to the public internet with tailscale funnel 3000. Tailscale’s docs say Funnel is in beta and available on all plans, and the Personal plan is free. The trade-offs are specific: URLs live under your tailnet’s ts.net domain, Funnel listens only on ports 443, 8443 and 10000, it works only over TLS, and bandwidth limits apply that you can’t configure. The Tailscale client is open source (BSD-3-Clause), and its sibling, Tailscale Serve, shares a service only inside your tailnet.
Microsoft Dev Tunnels and VS Code port forwarding
Dev Tunnels is Microsoft’s relay service for sharing local web services, documented as being in public preview and intended for ad hoc testing, not production. You sign in with a Microsoft, Microsoft Entra ID or GitHub account; anonymous hosting isn’t supported. Tunnels are private by default and URLs can be persistent.
The same service powers port forwarding in VS Code. Open the Ports view, choose Forward a Port and sign in with GitHub. Forwarded ports start as Private, so visitors must sign in with the same account; switching a port to Public removes that requirement. Microsoft publishes monthly per-user limits (at the time of writing, 5 GB of bandwidth and 10 tunnels per user) and notes they can change.
localhost.run
localhost.run uses the SSH client you already have, so there is nothing to install: ssh -R 80:localhost:8080 localhost.run prints a public URL. Short-lived tunnels need no sign-up. Its free tier, described in the docs as forever free, has domain names that change regularly and a speed limit, which the service says are there to deter phishing. Adding an SSH key to a free account gives the domain a longer life.
Pinggy
Pinggy is also SSH-based (ssh -p 443 -R0:localhost:8000 free.pinggy.io). It supports HTTP(S), TCP, UDP and TLS tunnels, with password protection, IP allow-lists and a web debugger for replaying requests. At the time of writing, the pricing table on its homepage lists a free tier with random subdomains and a 60-minute tunnel timeout, and the URL changes when the tunnel reconnects; persistent URLs and custom domains sit on the paid Pro plan.
zrok (OpenZiti)
zrok is an Apache 2.0 open source sharing tool built on the OpenZiti zero-trust networking platform. After zrok invite and zrok enable, zrok share public localhost:8080 creates a public URL; zrok share private shares only with other zrok users. It handles HTTP/HTTPS, TCP and UDP. The hosted service (run by NetFoundry) has a free plan with a daily data allowance at the time of writing, and public shares from unverified free accounts show an anti-phishing interstitial page on first visit. You can also self-host the whole service.
bore
bore is a small, MIT-licensed TCP tunnel written in Rust. Its README puts it at about 400 lines of code: bore local 8000 --to bore.pub exposes a local port on the public bore.pub server at a randomly assigned port. Self-hosting is a single bore server command, and an optional --secret adds authentication between client and server.
frp (self-hosted)
frp is an Apache 2.0 reverse proxy for exposing a server behind NAT or a firewall. You run frps on a machine with a public IP and frpc on the machine you want to expose. It supports TCP, UDP, HTTP and HTTPS, with authentication, TLS and URL routing. It suits people who already have a VPS.
Expose (Beyond Code)
Expose is an MIT-licensed tunnelling tool written in PHP, and PHP must be installed locally to run it. You can self-host the open source core or use the managed platform at expose.dev. At the time of writing, its free Hobby plan includes TLS, random URLs and a single EU server with a time limit, while paid Pro and Team plans add access control, persistent URLs, custom domains and a global server network.
Feedback Tunnel by Made By Chip
Feedback Tunnel, by Made By Chip, is a small MIT-licensed npm package (feedback-tunnel) that sits on top of Cloudflare Quick Tunnels rather than replacing them. With cloudflared installed, npx feedback-tunnel 3000 prints a trycloudflare.com link to your running prototype. Reviewers can click any element and leave a comment without an account, and each note is saved to a FEEDBACK.md file in your project with the element’s selector, text and viewport, so an AI coding assistant such as Claude Code or Cursor can work through it. The link stops when you close the terminal.
ngrok alternatives compared
| Tool | Free option | Open source | Account needed | Best for |
|---|---|---|---|---|
| Cloudflare Quick Tunnels | Yes | Client (Apache 2.0) | No | Instant throwaway HTTP links |
| Cloudflare Tunnel (named) | Yes | Client (Apache 2.0) | Yes, plus a domain | Stable hostnames with access rules |
| localtunnel | Yes | Yes (MIT) | No | Node.js projects and test automation |
| Tailscale Funnel | Yes (Personal plan) | Client (BSD-3) | Yes | Teams already on Tailscale |
| Dev Tunnels / VS Code | No charge listed; monthly limits | SDK only (MIT) | Yes | Private sharing from VS Code |
| localhost.run | Yes | No | No | No-install SSH tunnels |
| Pinggy | Yes (60-min tunnels) | No | No | SSH tunnels with TCP/UDP and inspection |
| zrok | Yes | Yes (Apache 2.0) | Yes (or self-host) | Public and private shares, file sharing |
| bore | Yes (public server) | Yes (MIT) | No | Raw TCP ports, easy self-hosting |
| frp | Yes (self-hosted) | Yes (Apache 2.0) | No (needs your server) | Full control on your own VPS |
| Expose | Yes (time-limited) | Yes (MIT) | Yes for managed | PHP developers who may self-host |
| Feedback Tunnel | Yes | Yes (MIT) | No | Collecting review notes for AI assistants |
A note on security
Any public tunnel makes the service on that port reachable by anyone who has, or guesses, the URL. Use test data and make sure no API keys, .env files or admin routes are exposed. Where you can, add authentication: Cloudflare’s email PIN or Access rules, private ports in Dev Tunnels and VS Code, Pinggy’s password and IP allow-list options, zrok private shares, or bore’s secret.
Frequently asked questions
What is a free ngrok alternative that needs no account?
Cloudflare Quick Tunnels, localhost.run, Pinggy’s free tunnels, localtunnel and bore’s public server all work without signing up at the time of writing. Expect random URLs and usage limits.
Which ngrok alternative is open source?
localtunnel, bore, Expose and Feedback Tunnel are MIT-licensed; frp, zrok and the cloudflared client are Apache 2.0; the Tailscale client is BSD-3-Clause. frp, bore, zrok and Expose can be fully self-hosted.
Can I get a permanent URL for localhost for free?
Some options offer stable addresses without payment: a named Cloudflare Tunnel on your own domain, a Tailscale Funnel URL on your ts.net name, persistent Dev Tunnels, or a self-hosted frp, bore or zrok server. Check current terms, as free tiers change.
Do I need a tunnel to share a static HTML prototype?
No. If there is no server-side code, you can upload the files instead. A tool such as HTML to Link gives a static .html file or .zip a temporary shareable link with on-page comments, and your computer doesn’t need to stay on.


