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 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 30, 2026Give your app a voice with text-to-speech in AI Gateway
View all updates · Subscribe via RSS
Turn text into speech with Gemini, xAI, MiniMax, and Qwen voices on your ngrok credits, or bring your own Groq and Mistral keys.
October 30, 2026Make music with Google’s Lyria models in AI GatewayLyria 3.5 writes full songs and Lyria 3 Clip Preview makes 30-second clips, at a flat price per song on your ngrok credits.
October 29, 2026Give your fallback models one name with virtual modelsSave 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.
Learn about pricing
See how ngrok’s pricing breaks down based on usage for each account plan.