# Why no equal signs at the end of Base 64 encoding?

**URL:** <https://community.auth0.com/t/why-no-equal-signs-at-the-end-of-base-64-encoding/87853>\
**Category:** JWT.io\
**Tags:** base64\
**Created:** [July 29, 2022, 12:38am UTC](https://community.auth0.com/t/why-no-equal-signs-at-the-end-of-base-64-encoding/87853 "2022-07-29T00:38:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RandySK](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/randysk/32/13366_2.png) [@RandySK](https://community.auth0.com/u/RandySK)\
**Post date:** [July 29, 2022, 12:38am UTC](https://community.auth0.com/t/why-no-equal-signs-at-the-end-of-base-64-encoding/87853/1 "2022-07-29T00:38:11Z")

</div>

I have text that I base 64 encoded in several places and have gotten the same value. When I put this data into the payload area of the JWT debugger, it comes up without the 2 equal signs at the end. Why is this? Is it appropriate to strip off the equal signs when building the JWT value?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [July 29, 2022, 8:42am UTC](https://community.auth0.com/t/why-no-equal-signs-at-the-end-of-base-64-encoding/87853/2 "2022-07-29T08:42:11Z")

</div>

A JWT uses Base64url Encoding ([RFC 4648 - The Base16, Base32, and Base64 Data Encodings](https://datatracker.ietf.org/doc/html/rfc4648#section-5)) which is a variant of Base64 where the 62nd and 63rd are different and also where the padding (equal signs at the end) are not mandatory so you won’t see padding in the encoding of JWT’s.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 29, 2022, 11:49am UTC](https://community.auth0.com/t/why-no-equal-signs-at-the-end-of-base-64-encoding/87853/3 "2022-07-29T11:49:41Z")

</div>

Thanks Joao for helping on that front!

---

<div class="post-metadata">

**Author:** ![RandySK](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/randysk/32/13366_2.png) [@RandySK](https://community.auth0.com/u/RandySK)\
**Post date:** [July 29, 2022, 12:06pm UTC](https://community.auth0.com/t/why-no-equal-signs-at-the-end-of-base-64-encoding/87853/4 "2022-07-29T12:06:06Z")

</div>

Thanks for the info.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [November 4, 2022, 1:49pm UTC](https://community.auth0.com/t/why-no-equal-signs-at-the-end-of-base-64-encoding/87853/5 "2022-11-04T13:49:36Z")

</div>


