🛠️DevTools

Form Data Encoder

Encode data in application/x-www-form-urlencoded format, the default encoding for HTML forms. Essential for POST requests and API integrations.

Ad Space - 728x90 Leaderboard
Type:
Try:
0 chars
0 chars
URL Encoding Reference
%20
Space
&%26
Ampersand
=%3D
Equals
?%3F
Question mark
/%2F
Forward slash
#%23
Hash
+%2B
Plus
@%40
At sign
encodeURI vs encodeURIComponent

encodeURIComponent: Encodes all special characters including /, ?, &, =, #. Use for encoding URL parameter values.

encodeURI: Preserves URL structure characters (/, ?, &, =, #, :). Use for encoding entire URLs while keeping them valid.

encodeURIComponent("a=b&c=d") → "a%3Db%26c%3Dd"
encodeURI("a=b&c=d") → "a=b&c=d" (unchanged)
Ad Space - Native/In-content

Frequently Asked Questions

What is application/x-www-form-urlencoded?

It's the default encoding type for HTML forms. Data is encoded as key=value pairs separated by &, with special characters percent-encoded.

When is form encoding used?

Used when submitting HTML forms with method='POST' and the default enctype, or when making API calls that expect form-encoded data.

Related Tools

📚 Learn More

Ad Space - 728x90 Leaderboard