Compare formats & tools
Side-by-side comparisons with the right tool for each — pick a pair to see the differences and when to use which.
JSON vs YAML
JSON vs YAML compared — syntax, readability, comments, data types and speed, plus when to use each and free tools to convert between them.
JSON vs XML
JSON vs XML compared — verbosity, schema, attributes, parsing and use cases, with free formatters and converters for both.
CSV vs JSON
CSV vs JSON compared — structure, nesting, size and tooling, plus free converters between CSV and JSON.
JPG vs PNG
JPG vs PNG compared — compression, transparency, quality and file size, plus free converters and an image compressor.
MD5 vs SHA-256
MD5 vs SHA-256 compared — hash length, speed, collision resistance and security, plus free hash generators for both.
YAML vs XML
YAML vs XML compared — readability, structure, comments and use cases, with free formatters for both.
PNG vs WebP
PNG vs WebP compared — compression, transparency, browser support and file size, with a free WebP converter and compressor.
Markdown vs HTML
Markdown vs HTML compared — simplicity, control and use cases, with free converters both ways.
Base64 vs URL encoding
Base64 vs URL encoding (percent-encoding) compared — what each does, output and use cases, with free encoders.
Binary vs Hexadecimal
Binary vs hex compared — base, readability and use cases, with free converters and a number base converter.
MD5 vs SHA-1
MD5 vs SHA-1 compared — length, speed and security. Both are broken for security; here is what each is still useful for.
SHA-1 vs SHA-256
SHA-1 vs SHA-256 compared — length, security and migration. SHA-1 is deprecated; SHA-256 is the modern standard.
BFS vs DFS
BFS vs DFS compared — data structure, shortest paths, memory and use cases, with interactive visualizers for both.
Stack vs Queue
Stack vs queue compared — LIFO vs FIFO, operations and use cases, with interactive visualizers for both.
Dijkstra vs A*
Dijkstra vs A* compared — heuristics, speed, optimality and use cases, with interactive pathfinding visualizers.
Quicksort vs Merge sort
Quicksort vs merge sort compared — speed, memory, stability and worst case, with interactive visualizers.
Bubble sort vs Quicksort
Bubble sort vs quicksort compared — speed, complexity and when each is appropriate, with interactive visualizers.
Mean vs Median
Mean vs median compared — how each is calculated, how outliers affect them, and when to use which, with a free statistics calculator.
Permutation vs Combination
Permutation vs combination compared — whether order matters, formulas and examples, with a free combinatorics calculator.
LCM vs GCD
LCM vs GCD compared — least common multiple vs greatest common divisor, formulas and uses, with a free calculator.