Overview
Localtunnel is a command-line tool that gives a web server running on your own computer a public HTTPS address. You start your local server, run one command with its port number, and get back a URL that forwards every request to your machine, with no DNS or firewall changes.
It is distributed as a Node.js package: install it with npm or run it directly with npx. By default the URL uses a random subdomain; you can ask for a specific one with an option, and point the tunnel at a host other than localhost. The same package can be used as a library inside Node programs, which is handy for automated tests, and community clients exist for Go, .NET and Rust.
Developers use it to show work in progress to someone else, test on a phone, or receive webhooks from outside services during development. It is open source under the MIT licence, the server code is published too, and there is no sign-up. The tunnel lasts only while the command keeps running.
Categories
Features
- Public HTTPS URL for a local web server with one command
- Install with npm or run through npx
- Optional custom subdomain instead of a random one
- Option to proxy to a hostname other than localhost
- Node.js API for opening tunnels from code
- Support for local HTTPS servers and custom certificates
- Open-source server that the client can be pointed at
- Community clients for Go, .NET and Rust
Privacy
See the official privacy policy. No account is needed; requests to your tunnel are relayed through the localtunnel server, which you can replace with a self-hosted one.
Pros & Cons
Pros
- Free and open source under the MIT licence
- No account, token or configuration file
- Works without touching DNS or firewall settings
- Can be scripted from Node for tests
Cons
- Needs Node.js installed
- The URL only works while the command is running
- A requested subdomain is not guaranteed to be available
- Traffic passes through the public tunnel server, so it is not for sensitive data
Community Reviews (0)
No written reviews yet — be the first to rate this tool.
Similar Tools
-
Exposes a local server to the internet via a secure tunnel.
Freemium Windows Linux -
Exposes a local server to the internet over SSH.
Freemium No Signup Windows Linux -
Exposes a local server to the internet via a secure tunnel.
Freemium No Signup Windows Linux