CalcToolsKitSimple tools. Clear answers.
EVERYDAY

URL Component Encoding Calculator

Free · No sign-up

Encode a query-value or path-segment component, not an entire URL with separators.

Your inputs

Example values are shown. Edit them for your calculation.

Inputs stay in this page. No account needed.

Your result

EVERYDAY

Enter your values and select calculate.

Next steps

Choose a related calculation for your next question. Enter your values on the next page.

On this page How it works & practical examples

How to use the URL Component Encoding Calculator

Encode a query-value or path-segment component, not an entire URL with separators. Malformed percent escapes are rejected.

The calculation

Percent-encode UTF-8 characters with encodeURIComponent; decode with decodeURIComponent

Worked example

hello world becomes hello%20world; plus signs remain literal on decoding unless they are percent-encoded.

Assumptions and limits

Does not apply form-urlencoded plus-to-space rules or sanitize a URL for navigation. Encoding changes representation, not trust or safety; all processing is local.

Common questions

Which inputs should I use?

Encode a query-value or path-segment component, not an entire URL with separators. Malformed percent escapes are rejected.

What does the result exclude?

Does not apply form-urlencoded plus-to-space rules or sanitize a URL for navigation. Encoding changes representation, not trust or safety; all processing is local.

AboutContactPrivacy PolicyTermsDisclaimerAll calculatorsSitemap