
Connect anything,
anywhere.
ngrok is developer infrastructure that routes and secures traffic to your apps, APIs, and AI models.
Our products
Way more than a tunnel to localhost.
The managed path to any model and inference provider.
Change one URL to route between hosted or self-hosted models, with failover and observability built in.
One gateway to services running anywhere.
An all-in-one cloud networking platform that secures, transforms, and routes traffic to all your services no matter where they run.
Try ngrok by sharing a local app.
Right now.
$ brew install ngrok$ scoop install ngrok$ docker pull ngrok/ngrokRead https://ngrok.com/agent-setup/prompt.md and follow it
to get my app online with ngrok.Developers go on and on about us.
ngrok is so effing amazing
ngrok opened the door for Databricks to rapidly onboard big enterprise customers with comprehensive security with much less operational complexity.
I wouldn't know how to work without ngrok.
OMG life changer. I can't imagine how I lived without ngrok.
ngrok has been super user friendly, works seamlessly, and never gets in our way. Today, our engineers spend less time troubleshooting proxy issues and more time building.
Just used ngrok for the first time to show off a new GopherCon web layout. Wow, that's awesome.
ngrok saves me so much time during development. What a tool.
ngrok continues to wow us with great APIs and automation. Establishing secure remote connectivity with our customer's environments via REST APIs is fast and safe ... and amazing!
ngrok makes the hard parts of networking feel effortless.
ngrok is so effing amazing
ngrok opened the door for Databricks to rapidly onboard big enterprise customers with comprehensive security with much less operational complexity.
I wouldn't know how to work without ngrok.
ngrok is making my life so much better.
Just got introduced to #ngrok by @geddski. This thing's amazing.
I have literally no idea how I solved many of these problems before I used ngrok
OMG life changer. I can't imagine how I lived without ngrok.
ngrok has been super user friendly, works seamlessly, and never gets in our way. Today, our engineers spend less time troubleshooting proxy issues and more time building.
Just used ngrok for the first time to show off a new GopherCon web layout. Wow, that's awesome.
Holy smokes, ngrok is incredible. This is going to change my workflow forever.
ngrok is so useful that I actually enjoy paying for it.
ngrok is one of those tools that you don't realize you need until you try it. Then it's indispensable.
ngrok saves me so much time during development. What a tool.
ngrok continues to wow us with great APIs and automation. Establishing secure remote connectivity with our customer's environments via REST APIs is fast and safe ... and amazing!
ngrok makes the hard parts of networking feel effortless.
ngrok is the api gateway goat honestly
ngrok is genius, replaying requests makes webhooks 1M times easier to handle.
Spent 3 hours looking for a good ngrok alternative. Let me save you some time: there isn't a better ngrok alternative.
ngrok is so effing amazing
ngrok opened the door for Databricks to rapidly onboard big enterprise customers with comprehensive security with much less operational complexity.
I wouldn't know how to work without ngrok.
ngrok is making my life so much better.
Just got introduced to #ngrok by @geddski. This thing's amazing.
I have literally no idea how I solved many of these problems before I used ngrok
OMG life changer. I can't imagine how I lived without ngrok.
ngrok has been super user friendly, works seamlessly, and never gets in our way. Today, our engineers spend less time troubleshooting proxy issues and more time building.
Just used ngrok for the first time to show off a new GopherCon web layout. Wow, that's awesome.
Holy smokes, ngrok is incredible. This is going to change my workflow forever.
ngrok is so useful that I actually enjoy paying for it.
ngrok is one of those tools that you don't realize you need until you try it. Then it's indispensable.
ngrok saves me so much time during development. What a tool.
ngrok continues to wow us with great APIs and automation. Establishing secure remote connectivity with our customer's environments via REST APIs is fast and safe ... and amazing!
ngrok makes the hard parts of networking feel effortless.
ngrok is the api gateway goat honestly
ngrok is genius, replaying requests makes webhooks 1M times easier to handle.
Spent 3 hours looking for a good ngrok alternative. Let me save you some time: there isn't a better ngrok alternative.
Every security checkbox, checked.
- SOC2 Type II
- HIPAA & BAA
- GDPR
- CCPA
- EU-US DPF
- RBAC
- SSO & SCIM
- Audit logs
- Data residency
- White-labeling
You’re using ngrok right now.
ngrok received your request on our global network, filtered it through our WAF, applied a rate limit, routed it to our services, and delivered this web page to your browser.
on_http_request:
# say bye to anonymous proxies
- expressions:
- "'proxy.anonymous' in conn.client_ip.categories"
actions:
- type: deny
# rate limit requests by IP, unless you're a search/AI bot crawling the docs
- expressions:
- "!('com.openai.gptbot.ipv4' in conn.client_ip.categories || 'com.google.googlebot.ipv4' in conn.client_ip.categories)"
- "!req.url.path.startsWith('/docs')"
actions:
- type: rate-limit
config:
algorithm: sliding_window
bucket_key:
- conn.client_ip
capacity: 12345
enforce: false
name: Limit 12345 requests per minute per ip and user agent
rate: 60s
# rate limit violators get their connection closed instead of 429 errors
- expressions:
- actions.ngrok.rate_limit.limited
actions:
- type: close-connection
# this is our WAF, dawg
- actions:
- type: owasp-crs-request
config:
exclude_rule_ids:
- 932260
on_error: continue
process_body: true
# log all WAF decisions in our observability platform and then deny anomalous requests
- expressions:
- actions.ngrok.owasp_crs_request.decision == 'deny'
actions:
- type: log
config:
metadata:
action: waf deny
anomaly_score: ${actions.ngrok.owasp_crs_request.anomaly_score}
first_matched_data: ${actions.ngrok.owasp_crs_request.matched_rules[0].data}
first_matched_id: ${actions.ngrok.owasp_crs_request.matched_rules[0].id}
first_matched_message: ${actions.ngrok.owasp_crs_request.matched_rules[0].message}
first_matched_severity: ${actions.ngrok.owasp_crs_request.matched_rules[0].severity}
ngrok_error_message: ${actions.ngrok.owasp_crs_request.error.message}
phase: request
- type: deny
# block countries to comply with legal requirements
- expressions:
- conn.geo.country_code in ['ABC', 'DEF', 'XYZ']
actions:
- type: deny
# "we're hiring" easter egg for the curious developer
- actions:
- type: add-headers
config:
headers:
x-ngrok-we-are-hiring: https://ngrok.com/careers
# add a custom security.txt file without storing it in s3 or something
- expressions:
- req.url.uri.contains('/.well-known/security.txt')
actions:
- type: custom-response
config:
content: |+
Contact: mailto:security@ngrok.com
Canonical: https://ngrok.com/.well-known/security.txt
Policy: https://ngrok.com/security/disclosure-and-reward-program
Hiring: https://ngrok.com/careers
Preferred-Languages: en
Expires: 2026-11-01T00:00:00Z
headers:
Content-Type: text/plain; charset=utf-8
status_code: 200
# redirect legacy /downloads path to /download
- actions:
- type: redirect
config:
from: https://ngrok.com/downloads(/|$)(.*)
status_code: 301
to: https://ngrok.com/download/$2
# redirect legacy blog path+slug
- expressions:
- req.url.path.startsWith('/blog-post')
actions:
- type: redirect
config:
from: ^(https?://[^/]+)/blog-post/(.*)$
status_code: 301
to: $1/blog/$2
# handle /docs by forwarding traffic to our docs hosted in s3
- expressions:
- req.url.path.startsWith('/docs')
actions:
- type: forward-external
config:
url: https://ngrok.docs-provider.com
# handle /blog and asset paths by forwarding traffic to an external provider
# sorry, we gotta be a little cheeky with these
- expressions:
- '["/__blog-manifest","/blog-assets","/blog"].exists(p,req.url.path.startsWith(p))'
actions:
- type: forward-external
config:
url: https://blog.deployment-provider.com
# handle /, /download, /pricing/, and other paths by forwarding to the same provider, different deployment
- expressions:
- '["/__manifest","/assets","/download","/pricing","/schemas"].exists(p,req.url.path.startsWith(p))'
actions:
- type: forward-external
config:
url: https://frontend.deployment-provider.com
# legacy website paths forward to cms
- actions:
- type: url-rewrite
config:
from: /(.+)/$
to: /$1
- type: forward-external
config:
url: https://ngrok.cms-provider.com
on_http_response:
# run waf on all responses
- actions:
- type: owasp-crs-response
config:
on_error: continue
process_body: true
# as before, log all those WAF decisions and deny responses
- expressions:
- actions.ngrok.owasp_crs_response.decision == 'deny'
actions:
- type: log
config:
metadata:
action: waf deny
anomaly_score: ${actions.ngrok.owasp_crs_response.anomaly_score}
first_matched_data: ${actions.ngrok.owasp_crs_response.matched_rules[0].data}
first_matched_id: ${actions.ngrok.owasp_crs_response.matched_rules[0].id}
first_matched_message: ${actions.ngrok.owasp_crs_response.matched_rules[0].message}
first_matched_severity: ${actions.ngrok.owasp_crs_response.matched_rules[0].severity}
ngrok_error_message: ${actions.ngrok.owasp_crs_response.error.message}
phase: response
- type: custom-response
config:
content: 403 Forbidden
headers:
Content-Type: text/plain; charset=utf-8
status_code: 403Our latest ships
Call any AI Gateway model from the SDK you already use
Nov 20, 2026GPT-6.2 Astra and GPT-6.2 Sol are in AI Gateway, and Astra got cheaper
Nov 17, 2026Let your coding agent set up AI Gateway for your next feature
Nov 17, 2026Find the ngrok MCP server in Claude's connector directory
Nov 17, 2026
