Encode special characters for safe URLs or decode percent-encoded strings. Handles Unicode and full URI components.
Paste a URL or text string above and click Encode or Decode. All processing runs in your browser using native JavaScript functions.
URL encoding replaces unsafe characters with percent-encoded equivalents (e.g. space becomes %20). This ensures URLs are valid and transmitted correctly.
encodeURI encodes a full URL but preserves characters like : / ? # @. encodeURIComponent encodes everything except letters, digits, and - _ . ~ making it ideal for query parameter values.
No. All encoding and decoding happens locally in your browser. Nothing is sent to any server.