Fix garbled Shapefile attribute tables: shapefiles exported from ArcGIS/ArcMap on Chinese Windows are usually written in GBK without a .cpg declaration, and turn into mojibake the moment you open them in QGIS, PostGIS or convert to GeoJSON. Upload and the encoding is detected automatically, converted to UTF-8 — the data preview and repaired package are ready instantly. If detection is off, pick GBK, Big5, Shift-JIS, EUC-KR and more manually and everything re-repairs on the spot. Runs entirely in your browser; files never leave your machine.
Fast DBF encoding conversion for Shapefile packages
Local processing, no server uploads
Detect source encoding and preview converted attributes
Upload .shp/.dbf/.shx/.prj files or a ZIP package to detect and change DBF field encoding
Shapefile Encoding Repair fixes garbled attribute tables: shapefiles exported from ArcGIS/ArcMap on Chinese Windows are usually written in GBK/GB2312 without a .cpg declaration, and Chinese field values and column names turn into question marks or mojibake once you open them in QGIS, PostGIS or convert to GeoJSON. The tool detects the source encoding automatically, converts both attributes and field names to UTF-8, and writes a correct .cpg so the data displays properly in any GIS software.
Typical scenarios: third-party data arriving without a .cpg file; legacy project layers showing mojibake in QGIS; Chinese labels for admin boundaries, rivers or parcels rendering as gibberish. Repair happens automatically on upload — the data preview and repaired package are ready instantly. If detection is off, pick the encoding from the dropdown and everything refreshes on the spot. Detection and conversion run entirely in your browser; files never leave your machine.
Upload the Shapefile as a ZIP, or select .shp, .dbf, .shx and .prj together; the tool detects the DBF source encoding and repairs the files automatically.
Detection priority: the .cpg declaration is read first, then the byte structure of field names is analyzed (simplified-Chinese GBK families are auto-detected). If the table still looks garbled, pick GBK, Big5, Shift-JIS, EUC-KR, Windows-1251 and more from the dropdown — the table refreshes instantly.
Once the data looks right, download the repaired package: DBF attributes and field names are now UTF-8 with a .cpg declaration. Click "Change Encoding" any time to regenerate with a different encoding.
AThe DBF attribute file stores text bytes in a specific encoding (usually GBK or GB2312 for Chinese data), and a missing or wrong .cpg file makes GIS software guess incorrectly. Converting the attributes to UTF-8 with a correct encoding declaration makes them readable in every tool.
AIn priority order: the .cpg declaration is read first (it is the file's own answer); without one, the tool analyzes the DBF byte sample and the byte structure of field names to pick the most likely encoding, defaulting to GBK for inconclusive Chinese data. You can override the result from the dropdown at any time.
AUpload a ZIP of the complete Shapefile, or select the sidecar files together (.shp, .dbf, .shx, optionally .prj). The .dbf is required — that is where the attribute text lives; repair fails if the group contains no SHP file.
ANo. Only the encoding of attribute text and field names is converted to UTF-8. Geometry, field structure and Latin values stay untouched, and the repaired files work in QGIS, ArcGIS, PostGIS and more.
AYes — the root cause is identical: files written in a localized encoding (Shift-JIS for Japanese, Big5 for Traditional Chinese, EUC-KR/CP949 for Korean, Windows-1252 for Western European) opened under a different one. Pick the matching encoding from the dropdown and the tool converts to UTF-8 the same way. Simplified Chinese (GBK/GB2312/GB18030) is auto-detected; for other languages choose the known encoding manually.
AThe DBF format caps field names at 10 bytes. Converting GBK Chinese to UTF-8 turns each character from 2 bytes into 3, so over-long names are truncated at a character boundary (e.g. "网格类型" becomes "网格类"). This is a dBase format limitation — QGIS behaves the same way — and attribute values are unaffected.