Run Length Encoding
More info
Run length encoding (RLE) is a lossless compression technique. Consecutive repeated symbols are encoded as a pair: the symbol and how many times it appears consecutively. Every group becomes a pair — even a single instance is recorded as (symbol, 1). AQA exam questions accept different notations: (A, 3), A 3, and A3 all represent the same run. This tool uses (symbol, count) notation. RLE reduces size when runs are long; it increases size when symbols frequently change, because each symbol still requires two pieces of data.
Input
Encoded
Input Length
0
characters
RLE Pairs
0
encoded size = pairs × 2
Net Change
0
—
Run Breakdown
Each block represents one run. Block width is proportional to run length. The pair notation used by this tool is (symbol, count).
Question 1
Compact Notation
Your Answers
© 2026 Neil KendallMore @ www.korovatron.co.uk