My favorites | English | Sign in

Google Chart API

Character Mappings

This document includes reference material for the character mappings used in encoding your data.

Table of Contents

Simple encoding character values

Character Value
A 0
B 1
C 2
D 3
E 4
F 5
G 6
H 7
I 8
J 9
K 10
L 11
M 12
N 13
O 14
P 15
Q 16
R 17
S 18
T 19
U 20
V 21
W 22
X 23
Y 24
Z 25
a 26
b 27
c 28
d 29
e 30
f 31
g 32
h 33
i 34
j 35
k 36
l 37
m 38
n 39
o 40
p 41
q 42
r 43
s 44
t 45
u 46
v 47
w 48
x 49
y 50
z 51
0 52
1 53
2 54
3 55
4 56
5 57
6 58
7 59
8 60
9 61

Back to top

Extended encoding character values

A 63 by 63 grid is required to map all 4096 values for extended encoding. Such a grid would be hard to read in an HTML page like this. Therefore it is recommended you set up your own grid using a spreadsheet. A snippet of the required grid is provided below.

To set up a spreadsheet for extended encoding mapping:

  1. Create a spreadsheet with a row that has the alphabet in upper case (A-Z), followed by the alphabet in lower case (a-z), followed by 0 to 9 inclusive, followed by a hyphen (-), and a period (.).
  2. Create a single column at the left with the same values.
  3. Type a zero (0) in Column A:Row A, type a one (1.) has a value of 63. See below for a subset of the required columns.
  4. Make Column B:Row A equal to Column B-1 (A):Row A + 64. Copy the cell to the rest of Column B.
  5. Copy Column B to all other columns.
  6. The last value in the table, Column Period (.):Row Period (.) should have a value of 4095.

To read the table, find the column first - then the row. For example:

  • 7 = AH
  • 133 = CF
  • 3975 = -H
  • 4037 = .F
  A B C -> 9 Hyphen (-) Period (.)
A 0 64 128 ... 3904 3968 4032
B 1 65 129 ... 3905 3969 4033
C 2 66 130 ... 3906 3970 4034
D 3 67 131 ... 3907 3971 4035
E 4 68 132 ... 3908 3972 4036
F 5 69 133 ... 3909 3973 4037
G 6 70 134 ... 3910 3974 4038
H 7 71 135 ... 3911 3975 4039
I 8 72 136 ... 3912 3976 4040
J 9 73 137 ... 3913 3977 4041
K 10 74 138 ... 3914 3978 4042
L 11 75 139 ... 3915 3979 4043
M 12 76 140 ... 3916 3980 4044
N 13 77 141 ... 3917 3981 4045
O 14 78 142 ... 3918 3982 4046
P 15 79 143 ... 3919 3983 4047
Q 16 80 144 ... 3920 3984 4048
R 17 81 145 ... 3921 3985 4049
S 18 82 146 ... 3922 3986 4050
T 19 83 147 ... 3923 3987 4051
U 20 84 148 ... 3924 3988 4052
V 21 85 149 ... 3925 3989 4053
W 22 86 150 ... 3926 3990 4054
X 23 87 151 ... 3927 3991 4055
Y 24 88 152 ... 3928 3992 4056
Z 25 89 153 ... 3929 3993 4057
a 26 90 154 ... 3930 3994 4058
b 27 91 155 ... 3931 3995 4059
c 28 92 156 ... 3932 3996 4060
d 29 93 157 ... 3933 3997 4061
e 30 94 158 ... 3934 3998 4062
f 31 95 159 ... 3935 3999 4063
g 32 96 160 ... 3936 4000 4064
h 33 97 161 ... 3937 4001 4065
i 34 98 162 ... 3938 4002 4066
j 35 99 163 ... 3939 4003 4067
k 36 100 164 ... 3940 4004 4068
l 37 101 165 ... 3941 4005 4069
m 38 102 166 ... 3942 4006 4070
n 39 103 167 ... 3943 4007 4071
o 40 104 168 ... 3944 4008 4072
p 41 105 169 ... 3945 4009 4073
q 42 106 170 ... 3946 4010 4074
r 43 107 171 ... 3947 4011 4075
s 44 108 172 ... 3948 4012 4076
t 45 109 173 ... 3949 4013 4077
u 46 110 174 ... 3950 4014 4078
v 47 111 175 ... 3951 4015 4079
w 48 112 176 ... 3952 4016 4080
x 49 113 177 ... 3953 4017 4081
y 50 114 178 ... 3954 4018 4082
z 51 115 179 ... 3955 4019 4083
0 52 116 180 ... 3956 4020 4084
1 53 117 181 ... 3957 4021 4085
2 54 118 182 ... 3958 4022 4086
3 55 119 183 ... 3959 4023 4087
4 56 120 184 ... 3960 4024 4088
5 57 121 185 ... 3961 4025 4089
6 58 122 186 ... 3962 4026 4090
7 59 123 187 ... 3963 4027 4091
8 60 124 188 ... 3964 4028 4092
9 61 125 189 ... 3965 4029 4093
Hyphen (-) 62 126 190 ... 3966 4030 4094
Period (.) 63 127 191 ... 3967 4031 4095