01Chapter 1: What a JavaScript String Really ContainsThis chapter assumes you know modern JavaScript syntax (let/const, arrow functions, destructuring), understand bits and bytes, and can run code in a browser console or Node.js.1 min read
02Chapter 2: Decoding Bytes with TextDecoderThis chapter assumes you know how TextEncoder turns strings into UTF-8 bytes in a Uint8Array, and that you can run code in a browser console or Node.js.1 min read
03Chapter 3: base64url for URLs, JWTs, and FilenamesThis chapter assumes you already know how to use TextEncoder and TextDecoder, and how to make base64 Unicode-safe by passing btoa one character per byte.1 min read