Back to Glossary

Hex (hexadecimal)

A text encoding that represents bytes using characters 0-9 and a-f, common for WKB strings.

Category: Formats · Also known as: hex string, hexadecimal encoding

Definition (expanded)

Hex is often used to represent binary geometry safely in text fields and logs. Many databases output WKB as a hex string. Some tools require you to specify whether an input is hex or base64.