Products
Gateway
An all-in-one cloud networking platform that secures, transforms, and routes traffic to your services.
Unlike cloud provider gateways locked to their own networks, ngrok works the same in AWS, Azure, GCP, on-prem, and your customer’s networks.
AI Gateway
Route, secure, and manage traffic to any LLM—cloud or local—through one endpoint.
Use OpenAI, Anthropic, and more without signing up for each provider.
Share Localhost
Expose a service running on
localhost to the internet, even from behind a NAT or firewall.
Skip port forwarding, DNS changes, and firewall rules entirely.Why ngrok?
Environment independence
ngrok works everywhere, and it works the same everywhere: AWS, GCP, Azure, your on-prem data center, a Raspberry Pi, or your laptop.
Unified ingress
Collapse the reverse proxy, load balancer, API gateway, WAF, and DDoS protection into one platform with unified configuration and observability.
Production-ready sooner
Authentication, attack protection, and traffic acceleration are handled for you, so you can focus on your app instead of networking configuration.
Application-layer abstractions
Stop wrestling with CIDRs, ports, and TLS certificates.
Work with application primitives like authentication and request routing instead.
Parity between dev and production
Run ngrok in local development exactly the way you run it in production, eliminating the bugs that come from environment drift.
Pay as you go
Public, predictable pricing that anyone can start with using a credit card.
You pay only for what you use.
What can you do with ngrok?
Build and test
- Share a local app: Put anything on localhost behind a stable, secure public URL.
- Test webhooks locally: Inspect, replay, and verify requests while you build.
- Connect local MCP servers: Let ChatGPT and Claude reach tools on your machine.
Play
- Host a Minecraft server: Let your friends join, and block the griefers, without port forwarding.
Deploy and run
- Route traffic to self-hosted models: Privately connect to any hardware, in any network, over an AI gateway.
- Run preview and CI workloads: Give every ephemeral service a secure public URL.
Deliver and connect
- Deliver and secure APIs: Route, authenticate, and protect requests through an API gateway.
- Reach customer networks: Connect to customer APIs and databases with site-to-site connectivity.
- Receive webhooks on-prem: Verify signatures for 70+ providers at one webhook gateway.
- Connect privately across networks: Reach across network boundaries without public URLs, open ports, or VPNs.
- Connect device fleets: Reach devices in the field through a device gateway, no inbound ports.
- Open SSH and RDP sessions: Reach a shell or desktop on a remote machine without a VPN.
Gateway primitives
Gateway owns the primitives that move traffic. AI Gateway and Share Localhost build on them, so what you learn once applies wherever you use ngrok.- Endpoints: The URLs traffic arrives on, whether created by an agent or in the cloud.
- Traffic Policy: Filter, match, manage, and orchestrate traffic to your endpoints.
- Domains & TLS: Serve traffic on your own hostnames, and manage the certificates that terminate TLS.
- Traffic observability: Capture and replay requests and responses.
- Identity and access: Manage credentials for human users and automated processes.
How ngrok works
Each product has its own architecture and request flow.Gateway
How ngrok’s global cloud service and agent software deliver traffic to your upstream services.
AI Gateway
How ngrok.ai routes requests, validates access keys, and handles failover across model providers.
Share Localhost
How the ngrok agent creates encrypted tunnels that deliver internet traffic to your local machine.
What’s next?
- Start with the product that fits your use case: Gateway, AI Gateway, or Share Localhost.
- Browse the Gateway examples collection to see common patterns implemented end to end.
- Check the FAQ for common questions, or the glossary for ngrok terminology.