Java uses java.util.Base64 to decode standard, URL-safe, and MIME Base64 into byte arrays that can be converted to strings or files.