Learn
These articles are static pages built from Markdown in the repository. They explain concepts and point to tools that run locally in your browser whenever the task allows. Browse by topic or search the full set.
Topics
- Published: 2026-09-05
Text diffs: unified view and workflow
How line, word, and character diffs work, when to use side-by-side vs inline (unified) layout, and a practical local workflow for reviewing text changes without uploading paste.
Read article → - Published: 2026-09-05
Text stats: words, reading time, and limits
How word, character, line, and paragraph counts work; why reading-time estimates depend on words-per-minute; and when platform limits make those numbers matter.
Read article → - Published: 2026-09-05
Slug rules for URLs and filenames
How to turn titles into stable URL path segments and safe filenames—separators, Unicode vs ASCII folding, collisions, and how slugify differs from percent-encoding.
Read article → - Published: 2026-09-05
Sorting and deduping lines
How to reorder multi-line lists and remove duplicates—locale sort, numeric digit order, case folding, keep-first vs sort-unique, reverse, and shuffle—without uploading the paste.
Read article → - Published: 2026-09-05
Batch find & replace (literal vs regex)
When to use literal text vs JavaScript regex for multiline find-and-replace—case rules, $1 vs literal dollars, flags, and safe local workflows.
Read article → - Published: 2026-09-05
Lorem ipsum for mockups
Why designers and developers use placeholder Latin for layouts; when to prefer paragraphs, word counts, or bullets; and how to generate filler text locally without uploading drafts.
Read article → - Published: 2026-09-05
Normalizing whitespace: CRLF, tabs, trailing spaces
How mixed line endings, tabs vs spaces, and trailing whitespace break diffs and reviews—and how to normalize them locally before you sort, dedupe, or commit.
Read article → - Published: 2026-09-05
Levenshtein edit distance (string similarity)
What Levenshtein distance measures (insert, delete, substitute), how the DP table works, UTF-16 caveats, and when raw edit count beats fuzzy “similarity” scores.
Read article → - Published: 2026-09-05
Base64 vs hex: representing bytes
How Base64 and hexadecimal both encode the same bytes, why hex expands ~2× and Base64 ~33%, when each format shows up in APIs and hashes, and how to compare them locally in the browser.
Read article → - Published: 2026-07-20
Regex flags and safe testing
What g, i, m, s, and u mean in JavaScript regex — and how to test patterns on pasted text without sending data to a server.
Read article → - Published: 2026-07-20
Text case styles: camelCase, snake_case, kebab-case
When to use each naming convention, how to convert between them, and pitfalls with acronyms and Unicode.
Read article → - Published: 2026-06-26
Hex encoding: UTF-8 bytes explained
How hexadecimal represents raw bytes, why UTF-8 matters when you encode text as hex, and how hex dumps differ from URL percent-encoding and HTML numeric entities.
Read article → - Published: 2026-06-05
HTML entities: what to escape and why
How HTML character references work, which characters must be escaped in text and attributes, and why entity encoding is not the same as URL encoding or full XSS protection.
Read article → - Published: 2026-05-27
URL encoding vs form encoding
How percent-encoding works in URLs, when encodeURI differs from encodeURIComponent, and why application/x-www-form-urlencoded treats spaces as plus signs.
Read article →