This form can be used to encode a url or string using php rawurlencode function.
Additional notes
- PHP rawurlencode will encode
space
to%20
-
The characters
-_.
are not replaced by php rawurlencode..
Encoded values for various ascii characters
Char | Value (php rawurlencode) |
---|---|
Space | %20 |
! | %21 |
" | %22 |
# | %23 |
$ | %24 |
% | %25 |
& | %26 |
' | %27 |
( | %28 |
) | %29 |
* | %2A |
+ | %2B |
, | %2C |
- | - |
. | . |
/ | %2F |
0 | 0 |
1 | 1 |
2 | 2 |
3 | 3 |
4 | 4 |
5 | 5 |
6 | 6 |
7 | 7 |
8 | 8 |
9 | 9 |
: | %3A |
; | %3B |
< | %3C |
= | %3D |
> | %3E |
? | %3F |
@ | %40 |
A | A |
B | B |
C | C |
D | D |
E | E |
F | F |
G | G |
H | H |
I | I |
J | J |
K | K |
L | L |
M | M |
N | N |
O | O |
P | P |
Q | Q |
R | R |
S | S |
T | T |
U | U |
V | V |
W | W |
X | X |
Y | Y |
Z | Z |
[ | %5B |
\ | %5C |
] | %5D |
^ | %5E |
_ | _ |
` | %60 |
a | a |
b | b |
c | c |
d | d |
e | e |
f | f |
g | g |
h | h |
i | i |
j | j |
k | k |
l | l |
m | m |
n | n |
o | o |
p | p |
q | q |
r | r |
s | s |
t | t |
u | u |
v | v |
w | w |
x | x |
y | y |
z | z |
{ | %7B |
| | %7C |
} | %7D |
~ | ~ |