Echo Endpoint

A curl-able endpoint that reflects your request, headers, and IP back at you.

Calling the echo endpoint sends that one request to this site's Worker so it can be reflected back to you. Nothing about it is stored or logged; it exists only in the response you get.

Press "Call the endpoint" or "Send a POST" to see the live response here.

Try it from a terminal
curl https://tools.maxhogan.dev/api/echo
curl -X POST -d '{"a":1}' -H 'Content-Type: application/json' https://tools.maxhogan.dev/api/echo
curl -H 'X-Custom: value' https://tools.maxhogan.dev/api/echo

Related tools

What it does

Reflects everything about the request that reached it: method, path, query string, headers, IP address, and Cloudflare's geo and network metadata. Useful for debugging what a proxy or CDN is rewriting, checking your outbound IP, or seeing exactly what headers a script sends.

How to use it

Call /api/echo with curl, or use the on-page button to fire a request from your own browser. Sensitive headers like Authorization and Cookie are shown as a redacted placeholder rather than their real value. Switch the format between JSON, plain text, and a table depending on what you are piping the output into.

Why this one

Same idea as httpbin.org, but self-hosted here, with no rate limit and no third party seeing your headers pass through their infrastructure first. The redaction rules mean you can point real requests at it, including ones carrying an API key, without that key ending up echoed back into your terminal.

FAQ
What is my IP and where does it come from?
The IP, country, city, and ASN come from Cloudflare's request metadata for the connection that reached this Worker, the same data every Cloudflare-fronted site sees for every visitor.
Is my request stored anywhere?
No. The request is reflected back in the response and never logged or written to storage by this site's code.
How do I test webhooks with it?
POST a body to /api/echo, exactly like a webhook sender would, for example curl -X POST -d '{"event":"test"}' https://tools.maxhogan.dev/api/echo. The response shows the body, its byte length, and every header the sender included.

Keyboard shortcuts: press ? anywhere on this page to see them.