GeoJSON to WKB Converter free and private
Paste GeoJSON and get WKB or EWKB (hex or base64) for PostGIS and other spatial databases. Runs fully in your browser with no uploads.
FAQ
Is my data uploaded anywhere?
No. Everything runs locally in your browser. Your GeoJSON stays on your device.
What GeoJSON inputs do you accept?
FeatureCollection, a single Feature, a geometry object, or a GeometryCollection. Geometry inputs are wrapped into a FeatureCollection for processing.
Why do I get a single WKB output even with many features?
This tool combines all input geometries into one output geometry. If all parts are compatible it creates a Multi geometry (MultiPoint, MultiLineString, MultiPolygon). Otherwise it creates a GeometryCollection.
How does SRID and EWKB work here?
Enable Include SRID and enter an SRID to embed it into EWKB. This does not reproject coordinates. If the SRID is missing or invalid, the output falls back to plain WKB without SRID.
Should I choose hex or base64?
Hex is common for copy and paste into SQL examples and logs. Base64 is more compact. Both represent the same binary WKB. The downloaded .wkb file is always the raw binary.
How do I use this in PostGIS?
Store the binary .wkb as bytea, then construct geometry in SQL. If you embed SRID (EWKB) you can use the EWKB constructor. If not, you can set SRID separately.
What geometry types are supported?
Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, and GeometryCollection. Mixed geometry inputs are combined as a GeometryCollection.
Can I export one WKB per feature?
Not with this tool. It produces one combined geometry. If you need per feature outputs, export a FeatureCollection and handle it in code, or use another converter that produces one row per feature.
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.