English

View a SLD file online, free

View and format .SLD files online. Pretty-print, search and explore the data as a table or tree, free.

Drop your .SLD file here

Opens your .SLD file right here.

Choose file
Up to 50 MB · JSON, XML, YAML, TOML, INI
Instant. Opens in seconds
No sign-up. Just open it
100% free. No limits on use

How to open a JSON file online

Three steps, a few seconds, no software.

01

Open your .SLD file

Drop it on the box, choose it from your device, or paste the data straight in.

02

View the structure

Your .SLD file opens as a tidy, foldable tree, with the exact line of any error pointed out.

03

Search, copy or download

Search keys and values, copy any path or value, switch to a table, or download a clean copy.

What is a .SLD file?

The most common data format on the web.

An SLD file is an XML document that defines the visual appearance of a GIS map layer, such as colors, line widths, fill patterns, and label rules. Open it in a text editor to read the XML, or load it into GeoServer or QGIS to apply the styling.

Programs that open .SLD files

Windows
GeoServer, Notepad / VS Code, QGIS, SLD editor (Geomajas project)
macOS
GeoServer, QGIS
Linux
GeoServer, QGIS
Web
GeoServer (web UI)
.SLD format details
Full nameOGC Styled Layer Descriptor
DeveloperOpen Geospatial Consortium (OGC)
First released2002 (OGC SLD 1.0.0)
CategoryText & Code
MIME typeapplication/vnd.ogc.sld+xml

Related viewers

Every viewer is free to use.

Frequently asked questions

Is my .SLD file uploaded anywhere?

No. The file is opened directly from the copy you pick.

My .SLD file is invalid. Can you fix it?

We show the exact line and column of the first error. For common problems like comments, trailing commas, single quotes or Python-style True/False/None, click Try to repair and download the fixed file.

How large can the file be?

Up to 50 MB. The tree only builds the branches you open, so even multi-megabyte files stay responsive.

What is JSONPath?

A path like $.orders[3].customer.email that points to one value inside the data. Click any node to see its path and copy it for code, jq or your API docs.

Can I see my data as a table?

Yes. Any array of objects can be shown in the Table view and downloaded as CSV.

Was this tool helpful?

Your rating helps us decide which tools to improve next.

Be the first to rate this tool.
Found a problem?