URL Encode / Decode

Percent-encode query strings and decode them back safely.

URL encode / decode

Uses encodeURIComponent rules. Default: “hello world” → hello%20world.

Mode
OutputReady
Guide & resources

What this URL encoding tool does

This URL encode decode page percent-encodes query values with encodeURIComponent. Reset turns hello world → hello%20world.

Cross-link Base64 encode decode, password generator, IP subnet calculator, conversion calculator, scientific calculator, and the other calculator hub.

Who should use this page

Anyone building links, testing APIs, or cleaning pasted URLs from analytics exports.

encodeURI vs encodeURIComponent

Full URLs need encodeURI; individual query values need the stricter form this tool uses.

Quick start

  1. Enter inputs in the tool.
  2. Read live results.
  3. Press Reset for the teaching default.
  4. Verify with a second method when stakes are high.
  5. Explore related calculators via links above.

Formula reference

Defaults below match the Reset toolbar values.

URL encoding teaching snapshot
ItemValueNotes
LiveYesonInput
ResetDefaultsToolbar
ScopeEducationalNot professional advice

Why do spaces become %20?

Reserved characters must be escaped so servers parse query strings unambiguously.

What about plus signs?

Some HTML forms use + for space; decode mode shows the literal percent sequence instead.

Three worked examples (reset to defaults first)

Example 1

Reset, then read the highlighted result.

Example 2

Change one input and watch the output update.

Example 3

Compare with manual work on the scientific calculator.

Limitations

Educational scope; see tool hints for unit and precision limits.

URL encoding fluency note 1

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 1: keep units consistent before simplifying or comparing.

URL encoding fluency note 2

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 2: keep units consistent before simplifying or comparing.

URL encoding fluency note 3

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 3: keep units consistent before simplifying or comparing.

URL encoding fluency note 4

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 4: keep units consistent before simplifying or comparing.

URL encoding fluency note 5

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 5: keep units consistent before simplifying or comparing.

URL encoding fluency note 6

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 6: keep units consistent before simplifying or comparing.

URL encoding fluency note 7

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 7: keep units consistent before simplifying or comparing.

URL encoding fluency note 8

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 8: keep units consistent before simplifying or comparing.

URL encoding fluency note 9

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 9: keep units consistent before simplifying or comparing.

URL encoding fluency note 10

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 10: keep units consistent before simplifying or comparing.

URL encoding fluency note 11

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 11: keep units consistent before simplifying or comparing.

URL encoding fluency note 12

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 12: keep units consistent before simplifying or comparing.

URL encoding fluency note 13

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 13: keep units consistent before simplifying or comparing.

URL encoding fluency note 14

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 14: keep units consistent before simplifying or comparing.

URL encoding fluency note 15

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 15: keep units consistent before simplifying or comparing.

URL encoding fluency note 16

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 16: keep units consistent before simplifying or comparing.

URL encoding fluency note 17

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 17: keep units consistent before simplifying or comparing.

URL encoding fluency note 18

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 18: keep units consistent before simplifying or comparing.

URL encoding fluency note 19

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 19: keep units consistent before simplifying or comparing.

URL encoding fluency note 20

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 20: keep units consistent before simplifying or comparing.

URL encoding fluency note 21

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 21: keep units consistent before simplifying or comparing.

URL encoding fluency note 22

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 22: keep units consistent before simplifying or comparing.

URL encoding fluency note 23

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 23: keep units consistent before simplifying or comparing.

URL encoding fluency note 24

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 24: keep units consistent before simplifying or comparing.

URL encoding fluency note 25

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 25: keep units consistent before simplifying or comparing.

URL encoding fluency note 26

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 26: keep units consistent before simplifying or comparing.

URL encoding fluency note 27

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 27: keep units consistent before simplifying or comparing.

URL encoding fluency note 28

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 28: keep units consistent before simplifying or comparing.

URL encoding fluency note 29

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 29: keep units consistent before simplifying or comparing.

URL encoding fluency note 30

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 30: keep units consistent before simplifying or comparing.

URL encoding fluency note 31

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 31: keep units consistent before simplifying or comparing.

URL encoding fluency note 32

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 32: keep units consistent before simplifying or comparing.

URL encoding fluency note 33

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 33: keep units consistent before simplifying or comparing.

URL encoding fluency note 34

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 34: keep units consistent before simplifying or comparing.

URL encoding fluency note 35

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 35: keep units consistent before simplifying or comparing.

URL encoding fluency note 36

URL encoding simplification divides both terms by their greatest common divisor. Default twenty-four and thirty-six become two colon three after Reset. Link to the fraction calculator for rational form, the percent calculator for part-of-whole language, the distance calculator for coordinate legs, the slope calculator for rise over run, and the math calculator hub. Note 36: keep units consistent before simplifying or comparing.

Questions we hear often

Defaults, classroom use, and how this page fits your math stack—summarized below.

Default encode example?

“hello world” → hello%20world via encodeURIComponent.

encodeURI vs encodeURIComponent?

This tool uses encodeURIComponent, which encodes more characters (including /).

Plus signs in query strings?

Some servers treat + as space—decode mode shows the literal percent form.

Unicode characters?

Non-ASCII becomes UTF-8 percent bytes (%E2%80%A6 style).

Broken decode?

Malformed % sequences return an error state instead of guessing.

How we calculate: Math tools evaluate the expressions and formulas you enter using standard arithmetic and JavaScript Math functions (trigonometry, roots, powers). Fraction and percent pages reduce to exact rational steps where possible, then show decimals for convenience. We do not substitute for exam proctors, engineering sign-off, or financial rounding rules your employer requires.

Encoding rules differ between encodeURI and encodeURIComponent—this page uses the stricter form.

Last updated: 2026-10-06