Proxy Environment Variable Checker
Trace http_proxy / https_proxy / no_proxy rules against URLs with curl, Go, Python and Node semantics.
Environment + targets
4 variables · emptyRoute results
0 URLs · 1 enginePaste a proxy environment and one or more URLs
Every match trace names the rule and the engine behavior that decided the route. Nothing is uploaded.
Parsed no_proxy rules
0 active · 0 quarantined| Entry | Type | Behavior |
|---|---|---|
| No active rules. | ||
Splitting is engine-specific: curl and Node also split on whitespace, requests removes spaces, Go and urllib split on commas only.
Engine semantics
Pinned to official docs- curlsource
Comma/space-separated tokens; exact host or dot-boundary tail match. Reads lowercase no_proxy first, ignores HTTP_PROXY, no http→https fallback.
CIDR: Yes, since 7.86.0 (IPv4 and IPv6). Ports: Port-qualified entries are ignored; matching uses the hostname only. Dots: Leading dot is ignored; tail match needs a dot boundary.
- Go (x/net/http/httpproxy)source
Bare domain matches the apex and subdomains; a leading dot or *. matches subdomains only. IP, CIDR and ports supported; localhost/loopback always DIRECT.
CIDR: Yes. Ports: Port-qualified entries match only that concrete port. Dots: .example.com matches subdomains only; example.com matches apex too.
- Python urllibsource
proxy_bypass_environment strips leading dots, then matches the exact host or a dotted suffix. No CIDR. Receives a hostname without the port.
CIDR: No. Ports: Host:port entries do not match a hostname-only lookup. Dots: Dots are stripped, so example.com and .example.com behave the same.
- Python requestssource
should_bypass_proxies uses literal endswith on host and host:port (spaces are removed), plus IPv4 CIDR for IP targets. A bare * is not special.
CIDR: IPv4 only. Ports: host:port suffix matching is supported. Dots: Literal endswith: company.com also matches notcompany.com.
- Node (undici EnvHttpProxyAgent)source
Comma- or whitespace-separated entries; exact or dot-boundary suffix, optional port, *. excludes the apex. Lowercase proxy vars win; https falls back to http.
CIDR: No. Ports: Optional :port must match the request's concrete port. Dots: .example.com matches apex and subdomains; *.example.com only subdomains.
Details
Paste the proxy environment from a CI job, container or shell, add one or more target URLs, and see whether each request goes DIRECT or through a proxy. The rule trace names the exact no_proxy entry and the engine behavior that decided it. Switch between curl, Go (x/net/http/httpproxy), Python urllib, Python requests and Node (undici EnvHttpProxyAgent), or compare all engines side by side to find CI mysteries caused by leading dots, CIDR ranges, port-qualified entries or proxy variable precedence. Proxy values with credentials are hidden on screen and always masked in CSV exports; all matching happens locally in your browser.
More examples
Internal domain bypass
http_proxy=http://proxy.corp.example:3128
no_proxy=localhost, .company.com
Target: https://internal.company.com/api
Result: DIRECT via .company.comThe dotted-suffix rule matches the internal host under every modeled engine, so the corporate proxy is skipped.
CIDR range divergence
http_proxy=http://proxy.corp.example:3128
no_proxy=10.0.0.0/8
Target: https://10.1.2.3/
curl, Go, requests: DIRECT · urllib, Node: PROXYcurl and Go support CIDR notation, and requests supports IPv4 CIDR; urllib and undici do not parse CIDR entries.
Port-qualified entry
http_proxy=http://proxy.corp.example:3128
no_proxy=registry.internal:8080
Targets: http://registry.internal:8080/ and http://registry.internal:9090/
Go, requests, Node: DIRECT on 8080 only · curl, urllib: PROXYGo, requests and undici compare the concrete port; curl ignores port-qualified entries and urllib looks up a hostname without a port.
Uppercase HTTP_PROXY
HTTP_PROXY=http://proxy.corp.example:3128
Target: http://example.com/
curl: DIRECT · Go, Python, Node: PROXYcurl deliberately ignores uppercase HTTP_PROXY (httpoxy/CVE-2016-5380), while the other modeled engines read it.
Examples
Dotted-suffix bypass
https_proxy=http://proxy.corp.example:3128
no_proxy=localhost, .company.com
URL: https://internal.company.com/apiAll engines: DIRECT
Trace: Matched rule ".company.com" → DIRECTA leading-dot entry reliably bypasses subdomains in every modeled engine.
CIDR divergence
http_proxy=http://proxy.corp.example:3128
no_proxy=10.0.0.0/8
URL: https://10.1.2.3/curl, Go, requests: DIRECT
urllib, Node: PROXYCIDR support is engine-specific; compare-all mode flags the mismatch for a CI config review.
Port-qualified rule
http_proxy=http://proxy.corp.example:3128
no_proxy=registry.internal:8080
URLs: http://registry.internal:8080/ and http://registry.internal:9090/8080: Go, requests, Node DIRECT · curl, urllib PROXY
9090: every engine PROXYOnly Go, requests and undici compare the port; the other engines never match the entry.
Case conflict
http_proxy=http://proxy.corp.example:3128
no_proxy=example.com
NO_PROXY=internal.example
URL: https://sub.example.com/Every engine: DIRECT via no_proxy=example.comWhen both cases are set, the lowercase variable wins across all modeled engines.
About this tool
Proxy Environment Variable Checker answers one question precisely: given these proxy environment variables and this target URL, does the request go DIRECT or through a proxy — and which no_proxy entry decided it? Paste lowercase or uppercase variables, add a batch of URLs, and switch engines to see curl, Go, Python (urllib and requests separately) and Node/undici semantics side by side.
The differences are real and application-breaking. curl ignores uppercase HTTP_PROXY for httpoxy reasons, does not use http_proxy as an HTTPS fallback, and ignores port-qualified no_proxy entries. Go's x/net/http/httpproxy matches bare domains against the apex and subdomains, supports IP/CIDR and ports, and always bypasses localhost and loopback addresses. Python urllib strips leading dots and matches a dotted suffix, while requests uses literal endswith on the host and host:port plus IPv4 CIDR. Undici splits entries on commas or whitespace, supports optional ports, and falls back to the HTTP proxy for HTTPS.
Each verdict includes a linear trace naming the variable read, the exact rule that matched (or that none did), and the engine behavior that decided the route. Invalid entries are quarantined with reasons instead of silently changing a verdict. Proxy URLs with embedded credentials are hidden on screen by default and always masked in CSV exports. All parsing and matching run locally in the browser; the tool never connects to a proxy or uploads the pasted environment.
What this tool does not do
- Advisory rule math only: the tool never resolves DNS, connects through a proxy, or verifies that a proxy is reachable.
- Modeled engines are curl, Go x/net/http/httpproxy, Python urllib, Python requests 2.x and Node undici EnvHttpProxyAgent; other stacks and older versions may differ.
- Supported target schemes are http, https, ws and wss; scheme-specific variables such as ftp_proxy or all_proxy behavior outside these schemes are not evaluated.
- Go's CGI refusal of HTTP_PROXY, platform proxy settings (Windows registry, macOS system config) and NO_PROXY from system configuration are out of scope.
- The 5,000-URL batch cap keeps the page responsive; split larger route tables into multiple runs.
How to use this tool
Paste an environment
Fill http_proxy, https_proxy, all_proxy and no_proxy, or load a preset. Enable UPPERCASE variants when both cases are present — every modeled engine prefers the lowercase value.
Add target URLs
Paste one URL per line, or click an example chip. Bare hosts are treated as http://; unsupported schemes are reported as row errors.
Choose an engine
Select curl, Go, Python urllib, Python requests or Node/undici. Turn on Compare all engines to flag URLs that route differently.
Read the trace
Click a result row to expand the per-engine trace: it names the no_proxy variable, each matched entry and the rule that produced DIRECT or PROXY.
Export for review
Copy or download the route table as CSV. Proxy credentials are masked in the export, and each row carries its engine and trace.
Use cases
Debug a CI proxy mystery
A private registry unexpectedly goes through the corporate proxy. Compare curl and Go verdicts to see which engine's no_proxy rules the job actually uses.
Review Docker build-arg proxies
Paste build-arg style http_proxy/https_proxy/no_proxy values and verify that internal registries and local addresses route directly.
Explain Python requests vs urllib
See why a CIDR bypass or a bare-domain suffix behaves differently in requests and urllib without installing either library.
Export a route table
Run twenty URLs through a proposed no_proxy change and download the masked CSV as an attachment for a config review.
Rule types recognized in the parsed table
| Type | Meaning |
|---|---|
| wildcard | A bare * bypasses every host in curl, Go, urllib and undici; requests uses literal endswith and does not special-case *. |
| domain | Plain hostname such as company.com: matches the host and its subdomains in every modeled engine except requests' strict literal-suffix rule. |
| dotted | Entry beginning with . or *.: subdomain-oriented; apex-host handling differs between curl/urllib/undici and Go/requests. |
| ip | IPv4 or IPv6 literal, with brackets accepted for IPv6; compared exactly by host. |
| cidr | IPv4/IPv6 range such as 10.0.0.0/8. Supported by curl (7.86+) and Go, IPv4-only in requests, unsupported in urllib and undici. |
| hostPort | host:port or [ipv6]:port. Compares the concrete port in Go, requests and undici; ignored by curl and unreachable in urllib's hostname lookup. |
| invalid | Quarantined with a reason (bad CIDR, port outside 1–65535, scheme-prefixed entry); never participates in matching. |
Splitting differs: curl and undici split on commas or whitespace, requests removes all spaces then splits on commas, Go and urllib split on commas and trim.
Common mistakes
Mistake:Assuming all engines agree on CIDR entries.
Fix:Go and curl (7.86+) support CIDR, requests supports IPv4 CIDR, but urllib and undici do not. Use compare-all mode before shipping a shared no_proxy value.
Mistake:Expecting uppercase HTTP_PROXY to behave like http_proxy everywhere.
Fix:curl deliberately ignores HTTP_PROXY for HTTP requests (httpoxy/CVE-2016-5380) and has no http→https fallback; use lowercase variables for the broadest compatibility.
Mistake:Treating a leading dot as a universal suffix marker.
Fix:curl and urllib strip the dot and can match the apex host, Go and undici treat it differently, and requests uses a literal endswith. The parse table and trace show which behavior applies.
Mistake:Pasting proxy URLs with credentials into a shared document.
Fix:Keep Reveal off: credential-bearing values are shown as password fields, and CSV export always masks username and password.
Frequently asked questions
Does no_proxy need a leading dot?
No single answer fits every engine. Go treats a bare example.com as the apex plus all subdomains, while .example.com or *.example.com matches only subdomains. curl and Python urllib strip the leading dot before matching, so .example.com can also match the apex host. requests uses a literal endswith check, so example.com matches sub.example.com but not .example.com against the apex. The trace panel names the exact rule and engine behavior for each verdict.
Does no_proxy support CIDR ranges?
It depends on the client. Go's x/net/http/httpproxy and curl 7.86+ support IPv4 and IPv6 CIDR; Python requests supports IPv4 CIDR for IP addresses; Python urllib and Node undici's EnvHttpProxyAgent do not parse CIDR entries at all. A range such as 10.0.0.0/8 can therefore route DIRECT in curl and PROXY in urllib with the identical environment.
Why does curl bypass the proxy but Python doesn't?
The most common causes are suffix matching, CIDR support and variable precedence. curl uses a dot-boundary tail match and ignores port-qualified entries, requests uses literal endswith on the host and host:port, and urllib strips leading dots and matches a dotted suffix. curl also ignores uppercase HTTP_PROXY and has no http→https fallback, while Python reads scheme-specific uppercase variables without falling back. Switch on Compare all engines to see exactly where the verdicts split.
Does no_proxy=example.com match example.com:8443?
For a plain host entry, yes in Go, curl, urllib, undici and requests — the port is not part of the entry. For a port-qualified entry such as example.com:8443, Go, requests and undici match only requests to port 8443; curl ignores the port-qualified entry entirely, and urllib looks up a hostname without a port so it does not match.
Is NO_PROXY case sensitive?
Variable names are conventionally lowercase, but every engine modeled here prefers the lowercase value when both no_proxy and NO_PROXY exist. The case-note chips and the trace show which variable was actually read. Hostname comparison is case-insensitive in all engines. Note the special case of HTTP_PROXY: curl ignores it for HTTP requests because of the httpoxy vulnerability (CVE-2016-5380).
Does no_proxy=* bypass the proxy in every engine?
In curl, Go, Python urllib and undici, a bare * bypasses every host. Python requests 2.x is the exception: should_bypass_proxies uses literal endswith matching and does not special-case *, so the request still goes through the proxy. The tool flags this divergence in the trace and in compare-all mode.
Why does Go go DIRECT to localhost even with no_proxy empty?
x/net/http/httpproxy has a built-in rule that bypasses localhost and loopback IP addresses before it evaluates no_proxy. curl, urllib, requests and undici do not share that special case: with a proxy set and no bypass rule, they route localhost through the proxy. This is a frequent source of surprising local-development differences.
Are my proxy credentials uploaded or saved?
No. All parsing and matching happen in your browser tab. Credential-bearing proxy fields are rendered as password inputs until you explicitly press Reveal, and CSV exports always replace the username and password with ***. The URL batch is session-only and is not written to localStorage; clearing the tool removes it on the next visit.
References & standards
Related tools
API Mock Server
Define mock REST routes and intercept fetch calls client-side
AsyncAPI Validator
Validate AsyncAPI 2.x and 3.x documents offline, browse channels and messages, and check protocol binding coverage.
Bandwidth Calculator
Estimate how long a file takes to transfer at a given connection speed — correctly handling bits vs bytes (Mbps vs MB/s) and SI vs binary size units
Bandwidth-Delay Product Calculator
Compute BDP from bandwidth and RTT: required TCP window, scaling factor, in-flight MSS and buffer notes. Auditable math, entirely in your browser.
Broken Link Checker
Extract http(s) links from pasted HTML and check them via proxy
Bulk Redirect Map Generator
Generate nginx map blocks, Apache RedirectMatch rules, Netlify _redirects and vercel.json from one old-to-new URL list, with status codes, wildcards and conflict detection.