Skip to content

Base64Decode

Decodes Base64-encoded content.

Parameters

NameDescriptionAllowed ValuesRequiredDefault
contentIndexesList of content indexes to include or excludeinteger (list)
contentTagsList of content tags to include or exclude, matching anystring (list)
excludeContentIndexesExclude specified content indexesbooleanfalse
excludeContentTagsExclude specified content tagsbooleanfalse
excludeFilePatternsExclude specified file patternsbooleanfalse
excludeMediaTypesExclude specified media typesbooleanfalse
filePatternsList of file patterns to include or exclude, supporting wildcards (*)string (list)
mediaTypesList of media types to include or exclude, supporting wildcards (*)string (list)
outputMediaTypeMedia type of the decoded contentstringapplication/octet-stream
retainExistingContentRetain the existing contentbooleanfalse
urlSafeUse URL-safe Base64 decoding (expects - and _ instead of + and /)booleanfalse

Input

Content

Input content to act on may be selected (or inversely selected using the exclude parameters) with contentIndexes, mediaTypes, and/or filePatterns. If any of these are set and the content is not matched, the content is passed through unchanged.

Output

Content

Decodes each selected content from Base64. If the content name ends with '.b64', that suffix is removed; otherwise the name is unchanged.

If retainExistingContent is true, each content will be retained, followed by its transformed content.

Errors

  • On invalid Base64 content
  • On failure to decode any content

Contact US