🍋
Menu
🍋 Privacy & Security

Base64 Encoder / Decoder

Encode and decode Base64 with URL-safe variants

Free Browser-only No sign-up
chars words sentences lines

Results

Result

About Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 strings. Supports standard (RFC 4648) and URL-safe variants. Shows data URI format, byte size, and encoding overhead.

Step by Step

  1. 1 1
  2. 2 .
  3. 3
  4. 4 E
  5. 5 n
  6. 6 t
  7. 7 e
  8. 8 r
  9. 9
  10. 10 t
  11. 11 e
  12. 12 x
  13. 13 t
  14. 14
  15. 15 t
  16. 16 o
  17. 17
  18. 18 e
  19. 19 n
  20. 20 c
  21. 21 o
  22. 22 d
  23. 23 e
  24. 24
  25. 25 o
  26. 26 r
  27. 27
  28. 28 a
  29. 29
  30. 30 B
  31. 31 a
  32. 32 s
  33. 33 e
  34. 34 6
  35. 35 4
  36. 36
  37. 37 s
  38. 38 t
  39. 39 r
  40. 40 i
  41. 41 n
  42. 42 g
  43. 43
  44. 44 t
  45. 45 o
  46. 46
  47. 47 d
  48. 48 e
  49. 49 c
  50. 50 o
  51. 51 d
  52. 52 e
  53. 53
  54. 54 2
  55. 55 .
  56. 56
  57. 57 M
  58. 58 o
  59. 59 d
  60. 60 e
  61. 61
  62. 62 i
  63. 63 s
  64. 64
  65. 65 a
  66. 66 u
  67. 67 t
  68. 68 o
  69. 69 -
  70. 70 d
  71. 71 e
  72. 72 t
  73. 73 e
  74. 74 c
  75. 75 t
  76. 76 e
  77. 77 d
  78. 78
  79. 79 (
  80. 80 o
  81. 81 r
  82. 82
  83. 83 c
  84. 84 h
  85. 85 o
  86. 86 o
  87. 87 s
  88. 88 e
  89. 89
  90. 90 e
  91. 91 n
  92. 92 c
  93. 93 o
  94. 94 d
  95. 95 e
  96. 96 /
  97. 97 d
  98. 98 e
  99. 99 c
  100. 100 o
  101. 101 d
  102. 102 e
  103. 103 )
  104. 104
  105. 105 3
  106. 106 .
  107. 107
  108. 108 V
  109. 109 i
  110. 110 e
  111. 111 w
  112. 112
  113. 113 s
  114. 114 t
  115. 115 a
  116. 116 n
  117. 117 d
  118. 118 a
  119. 119 r
  120. 120 d
  121. 121
  122. 122 a
  123. 123 n
  124. 124 d
  125. 125
  126. 126 U
  127. 127 R
  128. 128 L
  129. 129 -
  130. 130 s
  131. 131 a
  132. 132 f
  133. 133 e
  134. 134
  135. 135 B
  136. 136 a
  137. 137 s
  138. 138 e
  139. 139 6
  140. 140 4
  141. 141
  142. 142 v
  143. 143 a
  144. 144 r
  145. 145 i
  146. 146 a
  147. 147 n
  148. 148 t
  149. 149 s
  150. 150
  151. 151 4
  152. 152 .
  153. 153
  154. 154 C
  155. 155 o
  156. 156 p
  157. 157 y
  158. 158
  159. 159 t
  160. 160 h
  161. 161 e
  162. 162
  163. 163 r
  164. 164 e
  165. 165 s
  166. 166 u
  167. 167 l
  168. 168 t
  169. 169
  170. 170 o
  171. 171 r
  172. 172
  173. 173 d
  174. 174 a
  175. 175 t
  176. 176 a
  177. 177
  178. 178 U
  179. 179 R
  180. 180 I
  181. 181
  182. 182 f
  183. 183 o
  184. 184 r
  185. 185 m
  186. 186 a
  187. 187 t

Tips

  • Base64 increases size by ~33% — every 3 bytes become 4 characters
  • URL-safe Base64 replaces + with - and / with _ to avoid URL encoding issues
  • Data URIs (data:text/plain;base64,...) embed content directly in HTML/CSS

Frequently Asked Questions

Is Base64 encryption?
No. Base64 is encoding, not encryption — it's trivially reversible. Never use it to hide sensitive data. It's meant for safe transport of binary data in text-based systems.
When should I use Base64?
Email attachments (MIME), embedding images in CSS/HTML (data URIs), storing binary in JSON/XML, and HTTP Basic Authentication headers.