Developer Guides & Tutorials
Practical guides on JSON, regex, encoding, networking and text handling, each linked to a free browser tool you can use right away.
Each article explains one problem in plain terms, such as why a parser rejects your JSON or what a regular expression actually matches, and links to the tool that lets you try it. Like the tools themselves, every example runs in your browser, so nothing you paste is uploaded.
- Safe Fake Data: Reserved Domains, Phone Numbers and IPs for TestingWhich email domains, phone numbers, IP addresses and card numbers are reserved for examples and tests, so fake data never reaches a real person or server.
- XML Not Well-Formed? The Common Causes and How to Fix Each OneWhat "not well-formed", "mismatched tag" and "junk after document element" mean, the mistakes that cause them, and how to fix each one.
- Why Large IDs Break in JavaScript: MAX_SAFE_INTEGER and 64-bit JSONWhy JSON.parse turns 1234567890123456789 into 1234567890123456800, which IDs and timestamps it breaks, and how to send and parse 64-bit integers safely.
- QR Code Error Correction Levels: L, M, Q and H ExplainedWhat QR error correction levels L, M, Q and H actually protect, how they change a code's size and capacity, and which one to pick for print, screens and logos.
- How to Read a Diff: Unified Diff and git diff Output ExplainedWhat the ---, +++ and @@ -12,7 +12,8 @@ lines in a diff mean, how to count hunk ranges, and what git adds on top of the unified diff format.
- camelCase vs snake_case vs kebab-case: Naming Conventions by LanguagecamelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE: what each looks like, which languages and files expect which, and how to handle acronyms.
- HEX vs RGB vs HSL vs OKLCH: CSS Color Formats ExplainedHEX, RGB and HSL describe the same sRGB colors; OKLCH describes how bright they look. See how each format works, how to convert, and when to use which.
- How to Check a CSR Before You Send It to a Certificate AuthorityA wrong CSR means a reissued certificate and lost time. Learn what a CSR contains and the six things to check before you submit it to a CA.
- PNG vs JPG vs WebP: Which Image Format Should You Use?PNG, JPG and WebP each suit different images. Learn when to use each format, what conversion loses, and how to make images smaller without visible damage.
- Double-Encoded JSON: Why Your JSON Is Full of BackslashesSeeing \" everywhere or a JSON object wrapped in quotes? That is double-encoded JSON. Learn how it happens, how to decode it safely and how to stop it.
- Password Entropy Explained: How Strong Is Your Password Really?Password strength is measured in bits of entropy, not symbols. Learn the formula, how long passwords take to crack, and why length beats complexity.
- encodeURIComponent vs encodeURI: URL Encoding ExplainedencodeURI is for a whole URL, encodeURIComponent is for one value inside it. See what each escapes, why + becomes a space, and how to avoid double encoding.
- MD5 vs SHA-256 vs bcrypt: Which Hash Should You Use?MD5 and SHA-256 are for checksums and signatures; bcrypt, scrypt and Argon2 are for passwords. What each one is for, with real speed numbers.
- How to Remove Secrets and Personal Data from Logs Before SharingA practical guide to redacting API keys, tokens, emails, card numbers and IPs from logs before you paste them into a ticket, chat or AI assistant.
- YAML Gotchas: The Norway Problem, Tabs and Indentation ErrorsWhy YAML turns NO into false, 0755 into 493 and 1.10 into 1.1, why tabs break files, and how YAML 1.1 and 1.2 parsers disagree about the same document.
- How to Decode a JWT Without Trusting ItA JWT is readable by anyone, so decoding proves nothing. See its three parts, the claims worth reading, and what verification must check before you trust it.
- CIDR Notation and Subnetting ExplainedWhat /24 and /26 mean, how to find the network address, broadcast address and usable hosts, with a full CIDR table and a worked IPv4 subnetting example.
- Cron Expression Cheat Sheet With ExamplesRead and write cron expressions: the five fields, the special characters, and copy-paste schedules for every 5 minutes, weekdays at 9am, monthly jobs and more.
- Unix Timestamps: Seconds, Milliseconds, 2038A Unix timestamp counts time since 1970-01-01 UTC. Tell seconds from milliseconds, convert to dates, avoid time zone bugs and understand the 2038 limit.
- UUID v4 vs v7: Which Should You UseUUID v4 is fully random; UUID v7 starts with a timestamp so it sorts by creation time. Compare them for database keys, privacy and what each one reveals.
- Base64 vs Base64URL: What Is the DifferenceBase64 and Base64URL use two different characters and padding rules. Learn when each is correct, why URLs and JWTs need the URL-safe form, and how to convert.
- Fix JSON Unexpected Token ErrorsWhy JSON.parse throws "Unexpected token" or "Unexpected end of JSON input", the six usual causes, and how to find the exact character that breaks it.
- Regex Cheat Sheet for JavaScriptA compact reference for JavaScript regular expressions: character classes, quantifiers, anchors, groups, lookarounds and flags, with examples you can test live.
