Problems ngrok solves
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
Gateway Examples
Explore the 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 the Traffic Policy examples to get started routing, authenticating, filtering, and modifying headers on requests to your ngrok endpoints.
Use ngrok with popular tools
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.
From the changelog
October 29, 2026Give your fallback models one name with virtual models
View all updates · Subscribe via RSS
Save an ordered list of models as a virtual model, send its name as the model, and AI Gateway tries each model in turn until one answers.
October 28, 2026Generate images with Gemini’s Nano Banana models in AI GatewayFour Gemini image models now draw and redraw pictures on your ngrok credits, from your code or the playground.
October 28, 2026Ask @ngrok about your endpoints and traffic in SlackConnect Slack to your ngrok account, then mention @ngrok in a channel to ask about your endpoints, traffic, usage, and limits and get the answer in a thread.
Learn about pricing
See how ngrok’s pricing breaks down based on usage for each account plan.