WebSocket Close Code Reference / Lookup
NetworkLook up what a WebSocket close code means, per the RFC 6455 close code definitions and the IANA WebSocket Close Code Number Registry's reserved ranges, or browse every well-known code
Every WebSocket close frame carries a 16-bit close code, and remembering what each one means while debugging a dropped connection is not something most developers have memorized. This tool looks up a code and returns its name, plain-English meaning, and which reserved range it falls in: 1000 through 1015 are the specific well-known codes defined directly by RFC 6455, 3000 through 3999 are reserved for libraries and frameworks to register with IANA, and 4000 through 4999 are reserved for private use between a specific client and server with no fixed meaning. It also flags the handful of codes, like 1005 and 1006, that libraries use internally to represent a close with no code or an abnormal disconnect, but that must never actually appear on the wire.
How to use WebSocket Close Code Reference / Lookup
- 1.Enter a close code number, such as one you saw in a browser DevTools WebSocket frame or a server log.
- 2.Read its name, meaning, and which reserved range it falls in (well-known, library/framework, private use, or reserved for future use).
- 3.Browse the full list of well-known codes (1000-1015) below the lookup if you're not sure which one applies.
Frequently asked questions
Use via API, SDK, or MCP
cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/websocket-close-codes \
-H "Authorization: Bearer utx_live_..." \
-H "Content-Type: application/json" \
-d '{"code":1006}'Get an API key from your dashboard · Full API docs →