Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Teams
, (opens new window)

Power Scripts for Jira Cloud
Results will update as you type.
  • Get started
  • Configuration guides
  • Integration guides
  • Feature guides
  • Advanced features
  • Migration resources
  • Simple Issue Language
    • Getting started with SIL
    • SIL reference guide
    • SIL Functions library
      • Function Index
      • Packages
      • Array Functions
      • Basic Functions
      • Date and Interval Functions
      • Excel Functions
      • File Manipulation Functions
      • HTTP Functions
      • Incoming Mail Processing Functions
      • Integration with Other Systems
      • Jira Administration Functions
      • Jira Integration Functions
      • Jira Service Management Functions
      • Jira Software Functions
      • Listener Functions
      • Math Functions
      • Parameter Functions
      • Scheduling Functions
      • String Functions
        • Encryption and Encoding Functions
          • base64Decode
          • base64Encode
          • decrypt
          • encrypt
          • escapeHtml
          • hmacSHA1
          • hmacSHA256
          • rsaSHA256
          • urlDecode
          • urlEncode
        • allMatches
        • chop
        • contains
        • endsWith
        • executeTemplate
        • hashString
        • indexOf
        • isAlpha
        • isAlphaNumeric
        • isDigit
        • isLower
        • isNumeric
        • isUpper
        • join
        • lastIndexOf
        • length
        • matchEnd
        • matches
        • matchReplace
        • matchStart
        • matchText
        • replace
        • split
        • startsWith
        • substring
        • toLower
        • toUpper
        • trim
      • System Integration
      • Webhooks Functions
  • Tutorials and recipes
  • Jira Product Discovery support
    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    base64Encode
    Updated May 23

    base64Encode

    Description

    Encodes text in Base64. This is useful when transferring data like attaching a signature to the bottom of an email or storing images in a database. Returns the input text base64 encoded.

    Parameters

    Return Type

    String

    Example

    return base64Encode("Encode this text!");

    Returns "RW5jb2RlIHRoaXMgdGV4dCE="

    See also

    • Page:
      urlEncode
    • Page:
      base64Encode
    • Page:
      base64Decode
    • Page:
      encrypt
    • Page:
      escapeHtml
    • Page:
      decrypt
    • Page:
      urlDecode
    • Page:
      rsaSHA256
    • Page:
      hmacSHA256
    • Page:
      hmacSHA1

    Need support? Create a request with our support team.

    Copyright © 2005 - 2025 Appfire | All rights reserved.

    {"serverDuration": 32, "requestCorrelationId": "7d7f494f864e49a3b7bbeba211550413"}