Skip to content

Comparison · Updated November 2026

ngrok vs LocalTunnel

ngrok and LocalTunnel both put a local port on a public HTTPS URL with one command. LocalTunnel is a free, open-source npm package with no account. ngrok is a commercial service with a free plan, a request inspector, and paid plans above it.

What each one is for

ngrok

ngrok gives a local port a public URL. The free plan comes with one assigned ngrok-free.app domain that stays the same when you restart the agent, HTTP endpoints, and TCP once a card is verified. The sender talks to your app through the tunnel, so it gets your app's own response, and the agent has to be running when the request arrives. Requests show in the local inspector at localhost:4040 and in the dashboard's Traffic Inspector, where they can be replayed. On the free plan, browsers see an interstitial page first, once every 7 days per domain; API clients and webhook senders never do.

LocalTunnel

LocalTunnel is an MIT-licensed npm package. npx localtunnel --port 8000 prints an https URL on loca.lt that works for as long as the command runs. You can ask for a name with --subdomain, and get it only if it is free. There is no account, no dashboard and no request inspector, and the client can be pointed at a server you run yourself. The latest release on npm, 2.0.2, is from September 2021.

Features and pricing

FeaturengrokLocalTunnel
Start a tunnelngrok http 8000npx localtunnel --port 8000
AccountYes, free signupNone
PriceFree; Hobbyist $10/mo; Pay-as-you-go $20/mo plus usageFree
AddressOne assigned ngrok-free.app domain, the same after a restartA random loca.lt name per session; --subdomain asks for one
Free usage limits1 GB of data and 20,000 HTTP requests a month, up to 3 endpointsNone stated
Request inspectorYes: localhost:4040 and the Traffic Inspector, with replayNone
ProtocolsHTTP; TCP with card verification on Free; TLS on Pay-as-you-goHTTP and HTTPS
Your own domainPay-as-you-goThrough a server you host
LicenseCommercial serviceMIT
Team members3 included on Pay-as-you-go, then $5 per userNo accounts

ngrok as listed on ngrok.com/pricing and in its docs, LocalTunnel as described on its site, its GitHub README and npm, in November 2026; "not documented" means we did not find it there. Check their pricing before you buy.

When to pick which

Pick ngrok when

  • The address should stay the same after a restart
  • You want to inspect and replay the requests that came through
  • You need TCP as well as HTTP
  • You want a vendor with support and paid plans to grow into

Pick LocalTunnel when

  • You want a throwaway link with no account
  • You want open-source code, and the option of your own server
  • You start tunnels from a Node script or a test
  • A new URL each session is fine

Where webhooks.cc fits

For webhooks, the weak spot of any tunnel is that the provider needs a URL that keeps working. A webhooks.cc endpoint has a fixed URL that captures every request and keeps it, and whk tunnel forwards each one to localhost when you are there to receive it, so nothing is lost while the tunnel is down.

For showing a local site, whk share is included in every plan: a random name ending in -free for 2 hours at a time on Free, and reserved names with passwords on Pro at $8 a month. It serves web pages only, with no TCP.

webhooks.cc vs ngrok · webhooks.cc vs LocalTunnel · Share localhost

Try it yourself

or try without an account

Frequently asked questions

LocalTunnel vs ngrok: what is the difference?

Both expose a local port on a public URL. ngrok is a commercial service: a free plan with one assigned domain that survives restarts, a request inspector with replay, TCP tunnels, and paid plans from $10 a month. LocalTunnel is a free MIT-licensed npm package with a random URL per session, no account and no inspector.

Is LocalTunnel still maintained?

The latest release on npm is 2.0.2, from September 2021. The GitHub repository's most recent commit, a README update, is from August 2025. Checked in November 2026.

Which is better for webhooks, ngrok or LocalTunnel?

ngrok, mainly because of the address: its free domain stays the same, so the URL you gave the provider keeps working, and its inspector shows and replays what arrived. LocalTunnel hands out a new random name each session unless the subdomain you ask for is free, so the provider's settings have to be changed each time.

Is LocalTunnel free?

Yes. It is an open-source npm package with no account and no paid plan. ngrok has a free plan too, limited to 1 GB of data and 20,000 HTTP requests a month.

See also: ngrok vs Hookdeck · ngrok vs Webhook.site · ngrok vs Cloudflare Tunnel · All comparisons

Start testing webhooks in under a minute

Sign up with one click. No credit card, no setup wizard, no trial limits on core features.

or try without an account