Skip to main content
ngrok is an all-in-one cloud networking platform that secures, transforms, and routes your traffic to services running anywhere. From sharing localhost to production API gateways, ngrok handles it all.

Problems we solve

Share localhost

Put your local app on a public URL in seconds with the ngrok CLI.

API Gateway

Deliver and secure your production APIs with Traffic Policy.

AI Gateway

Route, secure, and transform traffic to any AI model.

Device Gateway

Control IoT devices in the field with secure remote access.

Site-to-Site Connectivity

Connect to APIs and databases in customer networks.

Kubernetes Ingress

Use the ngrok Operator for ingress to apps in any K8s cluster.

You may also need to

Handle webhooks

Secure preview URLs

SSH and RDP

Access remote K8s

Connect MCP servers

Replay HTTP requests

Start building

Universal Gateway Examples

Explore our example gallery to learn how to use ngrok as a gateway for your API, database, webhooks, and more, all protecting your services from malicious actors.

Traffic Policy Examples

Use our Taffic Policy examples to get started routing, authenticating, filtering, and modifying headers on requests to your ngrok endpoints.

Guides

Follow our guides on using ngrok for site-to-site connectivity, setting up gaming servers like mincraft, managing ingress to IoT devices, and more.

SDKs

Create and manage ngrok endpoints programmatically in your Python, Go, Node, or Rust applications using an Agent SDK.

Integrations

Use ngrok with your favorite enterprise-grade auth, webhook, and observability services like Okta SSO, Microsoft Entra ID, Datadog, and more.

Pricing

Learn how ngrok’s pricing breaks down based on usage for each account plan