URL Encode "C:\Users\file.txt"

Original

C:\Users\file.txt

URL Encoded

C%3A%5CUsers%5Cfile.txt

"C:\Users\file.txt" URL encoded is: C%3A%5CUsers%5Cfile.txt

Common URL-encoded characters

CharacterEncodedName
%20space
/%2Fslash
?%3Fquestion mark
=%3Dequals
&%26ampersand
@%40at sign
#%23hash
+%2Bplus
%%25percent

How URL encoding works

URL encoding (percent-encoding) replaces unsafe characters with % followed by two hex digits. "C:\Users\file.txt" becomes "C%3A%5CUsers%5Cfile.txt" because special characters like spaces, @, and / must be encoded in URLs.

Try the URL encoder

Loading tool...