oktools

Developer Guides

Short, practical explainers for the questions the tools leave to you: which format, which kind of ID, which status code, why a request was blocked, why a schedule ran at the wrong time. Where a guide shows a tool's output, it comes from running the code behind this site's tools.

JSON vs YAML vs TOML: Which Config Format Should You Use?

What each format is good at, the parsing traps that bite in production - YAML reading NO as false, JSON rounding big IDs, TOML having no null - and how to choose one for a new file.Updated 17 November 2026

UUID v4 vs UUID v7 vs ULID: Choosing an ID for Your Database

How random and time-ordered identifiers differ, why the difference shows up in your index, what a v7 UUID gives away about when a row was created, and when a plain integer is still the better key.Updated 17 November 2026

SHA-256 vs bcrypt vs Argon2: Hashing Data vs Hashing Passwords

Why the hash you use for checksums and signatures is the wrong one for stored passwords, what salting and a work factor actually buy you, and which algorithm and settings to reach for today.Updated 17 November 2026

401 vs 403 vs 404: Which Status Code Should Your API Return?

The difference between "who are you?", "you may not" and "there is nothing here", what the standard requires each response to carry, and when answering 404 for a forbidden resource is the right call.Updated 17 November 2026

CORS Errors Explained: Why the Browser Blocked Your Request

What the same-origin policy protects, how simple requests and preflights differ, what each console message means and which response header fixes it - plus the "fixes" that do not work.Updated 17 November 2026

Base64 vs Base64URL: What Changes and When to Use Each

The two characters and the padding rule that separate standard Base64 from the URL-safe variant, why the difference breaks tokens in URLs, where each is used and how to convert between them.Updated 17 November 2026

Cron Syntax Compared: crontab vs Quartz vs Kubernetes vs GitHub Actions

Why an expression that works in one scheduler fails or fires at the wrong time in another: field counts, weekday numbering, the day-of-month trap, special characters and time zones.Updated 17 November 2026

JPEG vs PNG vs WebP vs AVIF: Which Image Format to Use

What each format is built for, how much smaller the modern ones really are, where they are not supported yet, and why resizing an image saves more than any change of format.Updated 17 November 2026