CREATE · REVIEW · EXPORT

Binary Run-Length Encoder & Decoder

Encode bit strings as explicit JSON runs or decode validated runs with allocation limits and per-run inspection.

Purpose-built workspaceBrowser processingPreview before export

Ready. Explore the example or use the input controls to begin.

Scope and practical limits

Encode/decode up to 50,000 bits. Source text up to 50,000 characters. Run schema is {bit:"0" or "1",count:positive integer}. This is a demonstration JSON format, not a standard compressed-file codec.

The tool processes your work in the browser. The website’s advertising and analytics follow its privacy and consent settings. Projects are not saved automatically. Media workspaces export their files directly rather than storing them in project JSON.

Using Binary Run-Length Encoder & Decoder

Encode bit strings as explicit JSON runs or decode validated runs with allocation limits and per-run inspection.

  1. Start with the example and choose the declared input representation and any bit width.
  2. Change the operation or format, then inspect the precise result and validation messages.
  3. Copy the output or download text, JSON or a CSV audit. Save a project to retain editable inputs.

Example

00011 becomes [{"bit":"0","count":3},{"bit":"1","count":2}]. Counts are validated before expansion.

Questions & answers

What representation does this tool use?

Encode/decode up to 50,000 bits. Source text up to 50,000 characters. Run schema is {bit:"0" or "1",count:positive integer}. This is a demonstration JSON format, not a standard compressed-file codec.

What are the limits?

Encode/decode up to 50,000 bits. Source text up to 50,000 characters. Run schema is {bit:"0" or "1",count:positive integer}. This is a demonstration JSON format, not a standard compressed-file codec.

Does it save my input automatically?

No. Processing runs in your browser. Download your result or saved project before leaving. Site advertising and analytics follow the website consent and privacy settings.

Help improve this tool

Report a problem or suggest an improvement

Describe the issue without pasting private tool input. Feedback goes to our admin inbox.

Find another tool · Read practical guides