Common JSON Errors and How to Fix Them
How to fix JSON parse errors such as 'Expected a JSON object, array or literal', 'Unexpected token' and 'Expecting value': trailing commas, quotes, comments, BOMs and more.
In-depth guides, tutorials, and explanations to help you understand the tools and concepts behind web development.
How to fix JSON parse errors such as 'Expected a JSON object, array or literal', 'Unexpected token' and 'Expecting value': trailing commas, quotes, comments, BOMs and more.
How to check and validate your XML sitemap: find it, test every URL for errors, understand sitemap limits, and fix the most common problems.
A friendly reference to memorable Unix timestamps—0, 1000000000, 1234567890, 1672531200, 2147483647—and why they keep showing up in code and tests.
Learn how image compression impacts SEO, Core Web Vitals, and search rankings. Discover smart lossy compression, WebP conversion, and best practices for faster websites.
A complete guide to image formats for the web. Learn when to use JPG, PNG, WebP, or SVG to optimize performance, quality, and file size for your website.
How currency exchange rates work: spot rates vs transfer rates, what affects exchange rates, hidden fees to watch for, and getting the best rate when sending money abroad.
Base64 explained with a worked example: the 64-character alphabet, padding, why it is not encryption, URL-safe Base64, data URIs, MIME, and common decoding errors.
Understanding URL encoding (percent-encoding): why special characters need encoding, how it works, and common pitfalls when building URLs and query strings.
From ASCII to Unicode to UTF-8: how computers represent text, why encoding matters, and how to avoid the dreaded mojibake (garbled text).
A beginner-friendly guide to hexadecimal: what hex code is, how to read hex values, the hex letters A-F, and everyday uses from color codes to debugging.
An accessible explanation of binary: why computers use 1s and 0s, how to read binary, and understanding bits and bytes.
A plain-language definition of JSON format, with syntax rules, data types, valid vs invalid JSON, common mistakes, and how JSON compares to XML and YAML.
A practical comparison of JSON, YAML and XML: syntax differences, when to use each for configuration and data exchange, and how to convert between them.
A developer's guide to cryptographic hash functions: what they are, how they work, and choosing the right hash for your use case.
HMAC explained for developers: how it works, HMAC vs MAC, HMAC-SHA256 vs SHA-1, and how to verify signatures in your API.
How password hashing and salting actually work — why fast hashes and plain encryption fail, and how bcrypt and Argon2 keep stored passwords safe.
Learn regex from scratch: pattern matching basics, common patterns for validation, and debugging your regular expressions.
Master cron scheduling: reading and writing cron expressions, common patterns, and avoiding scheduling pitfalls.
What a JSON Web Token is, its header, payload and signature, the standard claims, HS256 vs RS256, how to verify a JWT, common mistakes, and where to store tokens.
What UUIDs and GUIDs are, how v1, v3, v4, v5 and v7 differ, why UUID v7 is now preferred for database keys, format options, collision odds, and when to use them.
What a Unix timestamp is, how the format works, seconds vs milliseconds, the trailing Z, and converting to and from human dates.
Working across timezones: understanding UTC, handling daylight saving, and tools for scheduling international meetings.
Understanding color formats for web development: when to use HEX vs RGB vs HSL, color spaces, and practical tips for choosing colors.
Making your designs accessible: understanding WCAG contrast ratios, testing for accessibility, and designing for color blindness.
Learn the fundamentals of color theory to create beautiful, harmonious palettes for your designs using color wheel relationships.
A complete guide to digital storage units from bits to terabytes, including the confusing differences between MB and MiB.
Understanding CSV files, their structure, common pitfalls, and best practices for creating and parsing comma-separated values.
A practical guide to metric and imperial unit conversions, with formulas and code examples for common measurements.
Understanding the three main temperature scales, their origins, how to convert between them, and when to use each one.
Understanding camelCase, PascalCase, snake_case, kebab-case, and other naming conventions used in programming.
A complete guide to Markdown syntax, from basic formatting to advanced features like tables, code blocks, and extensions.
A practical guide to Body Mass Index, how it's calculated, its limitations, and what the categories actually mean for health.
Understanding interest calculations, APR vs APY, amortization, and how to calculate loan payments with practical formulas.
How to calculate running pace from time and distance, convert min/km to min/mile and speed, plus a 5K, 10K, half marathon and marathon pace chart with finish times.
Understanding HTML meta tags and how to optimize them for search engines, social sharing, and better click-through rates.
A complete guide to robots.txt, including syntax, common patterns, and how to use it to control which pages search engines can access.
Put your knowledge into practice with our free online utilities.
Browse All Tools