Skip to main content
ngrok makes it easy to share your localhost with anyone on the internet. Whether you’re demoing a feature to a teammate, testing webhooks from a third-party service, or debugging a mobile app against your local backend, ngrok gives you a secure public URL that forwards traffic directly to your local machine. No deployment required.

Why use ngrok to share localhost?

  • Instant public URLs: Get a publicly accessible HTTPS URL for your local app in seconds with a single command.
  • No deployment needed: Skip staging environments and cloud deploys. Share what’s running on your machine right now.
  • Built-in security: Every endpoint comes with TLS encryption out of the box. You can also add authentication, IP restrictions, and more with Traffic Policy.
  • Traffic inspection: See every request and response in real time with ngrok’s built-in Traffic Inspector, and replay requests to speed up debugging.

Use cases

Webhooks

Receive webhook callbacks from third-party services on your local machine

Mobile apps

Test mobile apps against your local backend without deploying

API development

Share your local API with teammates or external consumers for testing

The ngrok platform

Secure tunnels

Learn how ngrok creates encrypted tunnels to your localhost

Traffic inspection

Inspect HTTP requests and responses in real time

Authentication

Add OAuth, basic auth, or other authentication to your endpoints

Network security

Control access with IP restrictions, mTLS, and more

Next steps

Quickstart

Get your local app online in minutes with the ngrok Agent CLI

Global infrastructure

Learn about ngrok’s global points of presence and edge network