URL encoder and decoder

    Percent-encode text for links, or decode %20-style URLs.

    Your text stays on this device

    About the URL Encode & Decode tool

    This URL encoder turns text into percent-encoded form that is safe inside a link or query string, and decodes links full of %20 and %E0 codes back into readable text. Encoding works like JavaScript's encodeURIComponent: spaces become %20, & becomes %26, and each Hindi letter becomes several %XX codes of its UTF-8 bytes. Decoding also turns + into a space, as web forms send it. Use it to build a search link or read a garbled link copied from an app.

    At a glance

    Method
    encodeURIComponent and decodeURIComponent, UTF-8
    Spaces
    Encoded as %20; a + is decoded as a space
    Errors
    A broken % code is reported, not guessed
    Price
    Free, no sign-up
    Works in
    Your browser, on phone or computer. Works offline after the first visit.
    Privacy
    What you type never leaves your device.

    How to encode or decode a URL

    1. Choose Encode or Decode.
    2. Paste your text or link.
    3. Copy the result.

    Private

    Your text stays in your browser and is never sent to a server.

    Instant

    Results update as you type, with nothing to install.

    Free

    No sign-up, no limits and no ads inside your writing space.

    URL Encode & Decode: frequently asked questions

    Should I encode the whole link?

    Usually only the parts you insert, such as a search term or a parameter value. Encoding a whole link also encodes the slashes and colon.

    Why do Hindi links look like %E0%A4…?

    Links can only contain basic characters, so other letters are sent as percent codes. Decoding shows the original words.

    What does "chai & samosa" look like when encoded?

    chai%20%26%20samosa. Each space becomes %20 and the & becomes %26, so a website does not read the & as the start of a new parameter.

    Is my text sent anywhere?

    No. Everything runs in your browser and your text never leaves your device. Nothing is stored on any server.