Notes

The mechanisms, written out

These articles explain the path the tools on this site actually take: characters into values, bytes into text, what a signature proves, and how a stream becomes one reply. The diagrams sit in the section they describe. Written by Brook.

  1. 01/12 min read

    How JSON parsing works, from characters to a value

    Format, minify, and tree view look like three buttons. Underneath they share one pipeline: split the text into tokens, then fold those tokens into a value. This note walks that path and shows where line numbers come from.

    • JSON
    • Parsers
    • Formatting
  2. 02/11 min read

    What UTF-8 actually encodes

    Character counts, code points, and bytes are three different rulers. This note walks one code point through UTF-8 and explains why URL encoding and JSON escapes look nothing like each other.

    • UTF-8
    • Unicode
    • URL encoding
  3. 03/12 min read

    The three parts of a JWT, and what verification checks

    Decoding the header and payload does not mean the token can be trusted. This note separates Base64URL, the signature, and claim checks, and explains why the algorithm and the key have to be chosen together.

    • JWT
    • Signatures
    • Base64URL
  4. 04/13 min read

    How an SSE stream reassembles a model reply from deltas

    Model APIs often split one reply across many SSE events. This note covers the frame format, how deltas merge by path, and why tool-call arguments are concatenated strings rather than JSON on every frame.

    • SSE
    • Streaming
    • LLMs
  5. 06/10 min read

    Why Base64 works in groups of four characters

    Three bytes are 24 bits, which split cleanly into four 6-bit indexes. This note covers grouping, padding, and the URL-safe alphabet, then compares what JWT and data URLs strip off the outside.

    • Base64
    • Encoding
    • JWT
  6. 07/12 min read

    Why most browser tools never need the network

    Hashing, formatting, and encoding can stay on the page. DNS, certificates, and "what is my IP" cannot. This note separates the two data paths and shows how to check that an input was not sent.

    • Privacy
    • Web Crypto
    • Network