WebSocket frame decoder

Loading…

All tools › What a protocol writes

WebSocket frame decoder

A hexadecimal frame into its fields, and a message back into a frame.

It runs entirely in this browser tab: the addresses, names and passwords you type are never uploaded, and the tool makes no network request while it works. Open your browser's network panel and try it — nothing leaves the page.

Settings

Direction
Which alphabet the name is going into, or let the input decide. Choices: Read a frame, Write a frame.
Frame type
Choices: Text, Binary, Close, Ping, Pong.
Masked
On or off. Starts on.
Last frame
On or off. Starts on.

How to use it

  1. Paste your text into the box above, or open a file.
  2. Adjust the settings beside it until the result is what you wanted.
  3. Copy the result, or save it as a file. The result updates as you type.

Questions

Does this look anything up?
No, and that is the point of the group. Nothing here resolves a name, queries a registry or opens a connection. Three tools would want a table bigger than the whole application — the vendor prefixes, the routing table, the full port register — and each of them takes the table from you and says so rather than answering "unknown" about something that exists.
Why does the subnet calculator show the bits?
Because a prefix stops being a mystery the moment you see it written out. It is also where the two lengths everybody gets wrong become obvious: a /31 is a point-to-point link with two usable addresses and no broadcast, and a /32 is one host rather than minus one.
Can I paste something confidential in?
Yes, and that is why the group is built this way. An internal addressing plan, a DKIM private key's public half, a Wi-Fi password and an authorisation header are all things you would think twice about typing into a website. None of them is sent anywhere, and the request builder hides credentials by default so that what you paste into a ticket is safe to.
Is what I type uploaded anywhere?
No. This page carries the whole tool as WebAssembly and runs it on your own device. You can watch your browser's network panel while you use one.

Other tools for what a protocol writes

Wi-Fi QR code
A code that joins a network. The password never leaves this page.

All thirty tools