⚡ SmartDevTools

Developer Guides

Short, practical explanations of the formats, protocols and conventions developers meet every day. Each guide uses real examples and points to the free SmartDevTools utilities that run in your browser, so you can try what you just read.

JSON vs YAML vs CSV: When to Use WhichCompare JSON, YAML and CSV on typing, comments, nesting and size, plus the YAML and CSV gotchas that corrupt data during conversion.Common JSON Syntax Errors and How to Fix ThemFix the JSON errors that break parsers: trailing commas, single quotes, comments, NaN, bad escapes, BOMs and truncation, with before and after examples.Unix Timestamps and Time Zones: A Developer's GuideLearn how Unix timestamps work: seconds vs milliseconds, UTC vs local time, DST traps, ISO 8601 offsets, JavaScript Date quirks and the Year 2038 limit.How JWTs Work, and Why Decoding Is Not VerifyingHow JSON Web Tokens are built, what the claims mean, HS256 vs RS256, alg=none attacks and what a server must verify before trusting any token.Base64 Is Encoding, Not EncryptionHow Base64 really works: 3 bytes to 4 characters, padding, the 33% size cost, base64url, UTF-8 pitfalls, and why it never protects a secret.Regular Expressions: Useful Patterns and Common PitfallsPractical regex: patterns for dates, hex colours, semver and UUIDs, greedy vs lazy, named groups, lookahead and how catastrophic backtracking hangs code.Cron Expressions ExplainedRead and write cron schedules: the 5 fields, ranges, lists, steps, the day-of-month OR day-of-week rule, time zones and DST, plus Quartz 6-field syntax.SQL Formatting Conventions That Make Queries ReadablePractical SQL style: keyword case, one clause per line, indentation, leading commas, explicit JOINs, CTEs, aliases, avoiding SELECT *, and team style guides.Hashing vs Encryption: What Is the Difference?Hashing is one-way, encryption is reversible. Real SHA-256 digests, why MD5 and SHA-1 are broken, HMAC, salts, and why passwords need slow hashes.URL Encoding (Percent-Encoding) Rules and Common BugsHow percent-encoding works under RFC 3986: reserved characters, encodeURI vs encodeURIComponent, %20 vs +, UTF-8 bytes and double-encoding bugs.HTTP Status Codes Explained: A Practical Cheat SheetThe HTTP status codes that matter, in plain English: 2xx to 5xx, 401 vs 403, 301 vs 308, 400 vs 422, retry rules, Retry-After and 304 caching with ETag.UUID Versions Explained: v1, v4, v7 and When to Use EachWhat UUID versions mean: v1 vs v4 vs v7, how to read the version and variant digits, collision odds, database index effects and UUIDs vs bigint keys.CIDR and Subnet Basics for BeginnersLearn CIDR notation and IPv4 subnetting step by step: prefix length, netmask, network and broadcast, usable hosts, private ranges and splitting a /24.

About these guides

The guides are written and reviewed by the SmarTech Apps team. We focus on behaviour you can verify yourself, flag common mistakes, and are explicit about limits: for example, which tools only decode rather than verify, and which algorithms are no longer safe for security work. Spotted an error? Tell us. You may also want the full list of tools.