WKB to WKT Converter

Turning the binary geometry a spatial database stores back into text you can read, diff, or paste into a GIS.

Convert WKB to WKT now

Common issues converting WKB to WKT

Frequently asked questions

My hex starts with 0101000020 — what's the 20?

That's the EWKB SRID flag. The bytes after it encode the SRID (for example 4326). The converter detects and reports it.

Are both byte orders supported?

Yes — big-endian (XDR) and little-endian (NDR) are auto-detected from the first byte.

Can I convert many rows at once?

Yes. Supply one WKB hex per line or record and each becomes a WKT geometry.

Is the conversion lossless?

Yes. WKB→WKT preserves every coordinate exactly; only the SRID can't live inside plain WKT.

Related conversions