★LocalHost Run Under Construction
  • Home
  • Articles
  • Tools
http://localhost
HomeArticlesTools
All tools›Text Tools›String URL encoder

String URL encoder

Load your string and it will automatically get URL-escaped.

Input String(URL-escaped)

​

Output string

​

Tool options

Encoding Options

If selected, then all characters in the input string will be converted to URL-encoding (not just special).

String URL encoder

This tool URL-encodes a string. Special URL characters get converted to percent-sign encoding. This encoding is called percent-encoding because each character's numeric value gets converted to a percent sign followed by a two-digit hexadecimal value. The hex values are determined based on the character's codepoint value. For example, a space gets escaped to %20, a colon to %3a, a slash to %2f. Characters that are not special stay unchanged. In case you also need to convert non-special characters to percent-encoding, then we've also added an extra option that lets you do that. Select the encode-non-special-chars option to enable this behavior.


String URL encoder Examples

Click to try!

Encode an actual URL

This example URL-encodes a string that also happens to be a valid web link. Special characters in this example are a colon, slash, question mark and equals sign.

​
​

Encoding Options

If selected, then all characters in the input string will be converted to URL-encoding (not just special).

Encode All Characters

In this example, we've enabled the option that encodes absolutely all characters in a string to URL-encoding. This option makes non-special characters, such as letters get encoded to their hex codes prefixed by a percent sign.

​
​

Encoding Options

If selected, then all characters in the input string will be converted to URL-encoding (not just special).


All Text Tools


  • Split — Split text into multiple parts using a separator
  • Join Text — Join text elements with a specified separator
  • Remove duplicate lines — Quickly delete all repeated lines from text
  • String To morse — Quickly encode text to morse
  • Text Replacer — Quickly replace text in your content
  • Repeat Text — Repeat text multiple times
  • Truncate Text — Truncate text to a specified length
  • Reverse — Reverse any text character by character
  • Randomize case — Randomize the case of letters in text
  • Convert to Uppercase — Convert text to uppercase
  • Extract substring — Extract a portion of text between specified positions
  • Create palindrome — Create text that reads the same forward and backward
  • Palindrome — Check if text reads the same forward and backward
  • Text Quoter — Add quotes around text with various styles
  • Rotate Text — Shift characters in text by position.
  • ROT13 Encoder/Decoder — Encode or decode text using ROT13 cipher.
  • Base64 Encoder/Decoder — Encode or decode data using Base64.
  • Text Statistics — Get statistics about your text
  • Text Censor — Quickly mask bad words or replace them with alternative words.
  • Password Generator — Generate secure random passwords with custom options
  • String URL decoder — Quickly URL-unescape a string.
  • Unicode Encoder / Decoder — Encode or decode text using Unicode escape sequences.
  • Hidden Character Detector — Find hidden Unicode characters in text
  • Compare Texts — Compare two texts and spot differences instantly
  • Slug Generator — Generate URL-friendly slugs from text.

LocalHost Run · Contact · Privacy Policy · Terms of Use

© 2026 LocalHost Run · localhost guides, articles, and developer tools · localhostrun.com
Visitors: 1025Best viewed in Netscape Navigator · 800×600© LocalHost Run