WKT to WKB Converter — free & private
Convert WKT/EWKT to WKB entirely in your browser. Copy as hex/base64 or download a raw .wkb file — no uploads.
FAQ
Is my WKT uploaded anywhere?
No. Conversion runs locally in your browser for privacy.
What’s the difference between WKB and EWKB?
WKB is the standard binary geometry format. EWKB is WKB with extra flags (commonly SRID). If your input includes an SRID (EWKT like SRID=4326;...), you can choose to include that SRID in the output (EWKB).
Hex vs Base64 output — which should I use?
Hex is common in SQL and logs (readable, but larger). Base64 is more compact for copy/paste in JSON and APIs. The download is always raw binary .wkb.
Do you support EWKT like SRID=4326;POLYGON(...) ?
Yes. SRID prefixes are accepted. If “Include SRID” is enabled and the SRID is present, the output can be EWKB.
What happens to Z / M / ZM dimensions?
Dimension tokens like POLYGON ZM (...) are normalized to plain 2D geometry before conversion if needed (to maximize compatibility).
Do you reproject coordinates?
No. WKT/WKB are just coordinates. If you need a different CRS, reproject first (e.g., in QGIS or PostGIS).
What geometries are supported?
Any valid WKT geometry supported by the parser, including Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, and GeometryCollection.
Why is SRID sometimes not shown or not included?
SRID is only available when the input actually contains it (EWKT) and the parser preserves it. If the tool falls back to a cleaned WKT parse, SRID may be lost—your geometry still converts, but as plain WKB.
What’s inside the downloaded .wkb file?
Raw WKB/EWKB bytes (binary). It’s not hex text—use the hex/base64 output if you need a text representation.
Want to order satellite data for your polygons?
ClearSKY uses data fusion to deliver cloud-free imagery and robust time series at scale. Upload your polygons and place orders in minutes.