URL encoder / decoder

Safely encode query values or decode an encoded string.

Mode

URL encoder / decoder

About this tool

Encode query values so spaces and symbols do not break a URL, or decode a percent-encoded string back into readable text. The tool uses standard browser encoding APIs and never uploads your input.

How it works

Three quick steps — then download or copy. Each tool page includes tips and FAQs.

Choose encode or decode

Switch between encode and decode depending on whether you are building a query string or reading one.

Paste your text

Paste the raw value or the percent-encoded string. Encoding keeps spaces and symbols safe inside URLs.

Copy the result

Copy the result into your link builder, spreadsheet, or API call without breaking the query.

Frequently asked questions

Should I encode a full URL or only a component?

Encode components such as query values. Encoding an entire URL also encodes characters like : / and ?, which usually breaks the link.

What happens with invalid decode input?

Malformed percent sequences cause an error. Fix the string and try again.

Is this tool free?

Yes. It is free to use in your browser, with no sign-up.

Is my data uploaded to your servers?

No. This tool runs entirely in your browser, and your input stays on your device.

Is this the same as encodeURI?

No. This tool follows encodeURIComponent behavior, which is the safer choice for individual query values.