ShareShortcuts

Base64 Decoder/Encoder

Easily and quickly encode or decode base64!

vdiya
Fork “Base64 Decoder/Encoder”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so vdiya gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
14K
Saved
0
Actions
46
Category
Utilities
Version
1.0
Language
EN

Easily and quickly encode or decode base64! This shortcut also explains what base64 is 💻

What's New

Version 1.0

First release

Version History
1.0 Jun 21, 2025

First release

What it does

46 actions
  1. Comment
    Made by vdiya on shortcutsgallery.com
  2. Choose from Menu
  3. Choose from Menu
    What is base64?
  4. Show Alert
  5. Choose from Menu
    Start decoding/encoding
  6. Choose from Menu
    Decode or encode Base64?
  7. Choose from Menu
    Decode
  8. Choose from Menu
    Are you decoding text,photo,audio/file?
  9. Choose from Menu
    Text 📝
  10. Ask for Input
  11. Base64 Encode
  12. Show Result
  13. Show Alert
  14. Copy to Clipboard
  15. Choose from Menu
    Photo 🌅
  16. Ask for Input
  17. Base64 Encode
  18. Show Result
  19. Show Alert
  20. Save to Photo Album
  21. Choose from Menu
    Audio/File 📁
  22. Ask for Input
  23. Base64 Encode
  24. Show Result
  25. Show Alert
  26. Save File
  27. Choose from Menu
    Encode
  28. Choose from Menu
    Are you encoding text,photo,audio/file?
  29. Choose from Menu
    Text 📝
  30. Ask for Input
  31. Base64 Encode
  32. Show Result
  33. Show Alert
  34. Copy to Clipboard
  35. Choose from Menu
    Photo 🌅
  36. Select Photos
  37. Base64 Encode
  38. Show Result
  39. Show Alert
  40. Copy to Clipboard
  41. Choose from Menu
    Audio/File 📁
  42. Select File
  43. Base64 Encode
  44. Show Result
  45. Show Alert
  46. Copy to Clipboard

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#include 'actions/sharing'
#include 'actions/crypto'
#define color green
#define glyph laptop

// Made by vdiya on shortcutsgallery.com


menu nil {
item "What is base64?":
	confirm("Base64 is a binary to a text encoding scheme that represents binary data in an ASCII string format. base64 is designed to carry data stored in binary format across the channels. It takes any form of data and transforms it into a long string of plain text.")
item "Start decoding/encoding":
	menu "Decode or encode Base64?" {
	item "Decode":
		menu "Are you decoding text,photo,audio/file?" {
		item "Text 📝":
			const AskForInput = prompt("")
			const Base64Encoded = base64Encode(AskForInput)
			show(Base64Encoded)
			confirm("Copy result to clipboard? 📋")
			setClipboard(Base64Encoded)
		item "Photo 🌅":
			const AskForInput1 = prompt("")
			const Base64Encoded1 = base64Encode(AskForInput1)
			show(Base64Encoded1)
			confirm("Save result to photos? 🌅")
			savePhoto(Base64Encoded1)
		item "Audio/File 📁":
			const AskForInput2 = prompt("")
			const Base64Encoded2 = base64Encode(AskForInput2)
			show(Base64Encoded2)
			confirm("Save result to files? 📁")
			saveFilePrompt(Base64Encoded2)
		}
	item "Encode":
		menu "Are you encoding text,photo,audio/file?" {
		item "Text 📝":
			const AskForInput3 = prompt("")
			const Base64Encoded3 = base64Encode(AskForInput3)
			show(Base64Encoded3)
			confirm("Copy result to clipboard? 📋")
			setClipboard(Base64Encoded3)
		item "Photo 🌅":
			const Photos = selectPhotos()
			const Base64Encoded4 = base64Encode(Photos)
			show(Base64Encoded4)
			confirm("Copy result to clipboard? 📋")
			setClipboard(Base64Encoded4)
		item "Audio/File 📁":
			const File = selectFile()
			const Base64Encoded5 = base64Encode(File)
			show(Base64Encoded5)
			confirm("Copy result to clipboard? 📋")
			setClipboard(Base64Encoded5)
		}
	}
}
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by vdiya

See All

You Might Also Like

See All
Advertisement