Decode base64

    0

    7

    base64
    Java Public Recipes

    decode base64 data to a string

    import java.util.Base64;
    
    String decoded = new String(Base64.getDecoder().decode("base64input".getBytes()));
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.