REG
Generated by scripts/gen-format-pages.py from docs/data/format-metadata/, FILE_FORMATS.csv and docs/formats-master.csv. Do not edit by hand: change the source, then run the script.
Windows Registry Export Preview.
At a glance
| Purpose | A Windows registry export (.reg): keys and values as text, with typed value encodings. |
| Extensions | .reg |
| Poka parser | poka-reg |
| Viewer | poka-tree-viewer |
| Depth tier | Parser with a shared viewer (see Depth tiers) |
| Breadth tier | B2 Broad (see Breadth tiers) |
How much Poka reads
B2 Broad. The common content of the current and the common older versions is decoded. Some named features or versions are not, and are listed.
Confidence: medium (the reviewer read the code). Basis: Reviewed 2026-10-26: read parsers/poka-reg/src/main.rs (272 lines) and plugin.json. No unit tests or tests/samples.rs; the corpus has no .reg and .reg-export sample. Covers .reg and .reg-export. The tree builds the key hierarchy from the section headers and lists every value under its key, with DWORD and the hex(2), hex(7), hex(b) and hex types named. Judgement: B2: every key and value is shown; some typed values are not converted.
What Poka does not read
- Expandable and multi-string values (hex(2), hex(7)) are not converted to text (judgement from the code)
- Deletions ([-key], value=-) are not marked as such (judgement from the code)
- Only the first 5,000 nodes are shown; files over 8 MiB are cut (flagged)
Libraries
Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.
- regashii (candidate; MIT; Rust; https://github.com/mtkennerly/regashii) — Reads and writes Regedit .reg files, tolerant like Regedit, UTF-8 and UTF-16; v0.4.0 (Mar 2025)
- winereg (candidate; Apache-2.0; Rust; https://github.com/aslody/winereg) — Parses/writes Wine and Windows .reg files, diff and patch; v0.1.0 (Dec 2025), unstable
- regf (candidate; MIT; Rust; https://github.com/peitaosu/regf) — Primarily a binary hive (regf) library; also imports/exports .reg text; v0.1.0
- fake-winreg (candidate; MIT; Python; https://pypi.org/project/fake-winreg/) — Fake registry for tests; imports .reg v5.00 and REGEDIT4, auto-detects encoding; v1.10.0; parsing is a side feature
Sources
- parsers/poka-reg/src/main.rs
- parsers/poka-reg/plugin.json