Binary string functions
Cloudflare Pipelines scalar function implementations are based on Apache DataFusion ↗ (via Arroyo ↗) and these docs are derived from the DataFusion function reference.
Encode binary data into a textual representation.
encode(expression, format)
Arguments
-
expression: Expression containing string or binary data
-
format: Supported formats are:
base64
,hex
Related functions: decode
Decode binary data from textual representation in string.
decode(expression, format)
Arguments
-
expression: Expression containing encoded string data
-
format: Same arguments as encode
Related functions: encode
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Directory
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- © 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark
-