Last update:2025-08-18 15:32:59
URL-Safe Base64 Encoding is suitable for scenarios where Base64 encoded results are transferred with the URL method. The basic process of this encoding method is first encoding content into a character string in Base64 format, then checking the resultant character string, substituting hyphens (-) for the plus signs (+) in the character string, and substituting the underscores (_) for the forward slashes (/).
Basic Base64 alphabet
![[ Product Maintenance ] Cloud Security Product Maintenance Announcement](https://www.wangsu.com/wos/draft/help_doc/en_us/2514/2951/1594016953843_image.png)
URL-optimized Base64 alphabet (Differences are marked in red and feature the complete same algorithmic processing procedure)
![[ Product Maintenance ] Cloud Security Product Maintenance Announcement](https://www.wangsu.com/wos/draft/help_doc/en_us/2514/2951/1594016990737_image.png)
Algorithmic processing procedure
![[ Product Maintenance ] Cloud Security Product Maintenance Announcement](https://www.wangsu.com/wos/draft/help_doc/en_us/2514/2951/1594017056869_image.png)
For the detailed encoding specifications, see the relevant descriptions in the RFC4648standard.