Secure tunnels to localhost

”I want to expose a local server behind a NAT or firewall to the internet.”


Demo without deploying

Don’t constantly redeploy your in-progress work to get feedback from clients. ngrok creates a secure public URL (https://yourapp.ngrok.io) to a local webserver on your machine. Iterate quickly with immediate feedback without interrupting flow.

Simplify mobile device testing

Test mobile apps against a development backend running on your machine. Point ngrok at your local dev server and then configure your app to use the ngrok URL. It won't change, even when you change networks.

Build webhook integrations with ease

Building webhook integrations can be a pain: it requires a public address and a lot of set up to trigger hooks. Save yourself time and frustration with ngrok. Inspect the HTTP traffic flowing over your tunnel. Then, replay webhook requests with one click to iterate quickly while staying in context.

Run personal cloud services from your own private network

Own your data. Host personal cloud services on your own private network. Run webmail, file syncing, and more securely on your hardware with full end-to-end encryption.


Need to run ngrok in production? Use ngrok link to manage your IoT devices or as a lightweight alternative to VPN for targeted access into customer networks.


Download and Installation

ngrok is easy to install. Download a single binary with zero run-time dependencies for any major platform. Unzip it and then run it from the command line.

Step 1: Download ngrok

Mac OS X 64-Bit Download
Windows 64-Bit Download
Linux 64-Bit Download
Linux ARM Download
FreeBSD 64-Bit Download
32-bit platforms
Mac OS X 32-bit Download
Windows 32-bit Download
Linux 32-bit Download
FreeBSD 32-bit Download

Step 2: Unzip it

On Linux or OSX you can unzip ngrok from a terminal with the following command. On Windows, just double click ngrok.zip.

$ unzip /path/to/ngrok.zip

Step 3: Run it!

Read the documentation on how to use ngrok. Try it out by running it from the command line:

$ ./ngrok help

so ngrok.com is basically the greatest thing ever. @philadams
ngrok: moved ~/bin already, the web inspector is gold @pedromelo
ngrok, probably the best tool I have started to use for my webwork since firebug also great support @inconshreveable @Botto
#ngrok is a dream for testing localhost with remote APIs! @davejlong
Ngrok is the software equivalent of Slash's guitar solo in "Sweet Child of Mine" @kevinwhinnery
#ngrok has become essential to my workflow. Makes testing responsive designs so much easier.@_shadj
ngrok is genius, replaying requests makes webhooks 1M times easier to handle. ngrok.com @Breefield
#ngrok has got to be the easiest local tunnel solution I've ever used.@thecodeboss
More love for ngrok →