gchq / gchq/CyberChef

Feature request: type conversion from binary to Double / Floating-point

Open
#2,132 0 comments 1 reaction 0 assignees View on GitHub
feature
Dominant language
JavaScript
Stars
35.8k
Forks
4.1k
Avg merge
2d 26m
Merged PRs (30d)
33

Description

# Feature Request: Binary → IEEE‑754 Double / Floating‑Point Converter

> **TL;DR** – Add a built‑in tool that converts a binary (or hex) representation of an IEEE‑754 double‑precision floating‑point number into its decimal value, and vice‑versa.

---

## Problem Statement

> I often need to take a hexdump (or raw binary string) from a log, packet capture, or memory dump and interpret it as a `double` (IEEE‑754 64‑bit).
> The only way I’ve found so far is to copy the hex into an external website (e.g. [Base Convert: IEEE 754 Floating Point](https://baseconvert.com/ieee-754-floating-point)) and paste the result back into my code.

---

## Desired Solution
- Decimal value output (e.g. `3.14156`)
- **Optional flags**:
- `precision ` – control decimal precision
---

- Provide a simple web UI for quick conversions (optional).

## Additional Context

- **Use‑cases**:
- Debugging binary protocols
- Reverse engineering firmware
- Educational purposes (learning IEEE‑754)
- **Screenshots**:
- coming soon
---

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.