ShareShortcuts

base64 Tools

Encode and decode base64!

devlol
Fork “base64 Tools”

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 devlol 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
39K
Saved
1
Actions
17
Category
API
Version
1.0
Language
EN

Encode and decode base64!

What's New

Version 1.0

First release

Version History
1.0 Jul 30, 2022

First release

What it does

17 actions
  1. Choose from Menu
    Would you like to encode or decode base64?
  2. Choose from Menu
    Encode
  3. If
  4. Ask for Input
    What text would you like to encode?
  5. Base64 Encode
  6. Quick Look
  7. If
  8. Base64 Encode
  9. Quick Look
  10. Choose from Menu
    Decode
  11. If
  12. Ask for Input
    What text would you like to decode?
  13. Base64 Encode
  14. Quick Look
  15. If
  16. Base64 Encode
  17. Quick Look

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/crypto'
#define color darkgray
#define glyph Target


menu "Would you like to encode or decode base64?" {
item "Encode":
	if !ShortcutInput {
		const ProvidedInput = prompt("What text would you like to encode?")
		const Base64Encoded = base64Encode(ProvidedInput)
		quicklook(Base64Encoded)
	}
	if ShortcutInput {
		const Base64Encoded1 = base64Encode(ShortcutInput)
		quicklook(Base64Encoded1)
	}
item "Decode":
	if !ShortcutInput {
		const ProvidedInput1 = prompt("What text would you like to decode?")
		const Base64Encoded2 = base64Encode(ProvidedInput1)
		quicklook(Base64Encoded2)
	}
	if ShortcutInput {
		const Base64Encoded3 = base64Encode(ShortcutInput)
		quicklook(Base64Encoded3)
	}
}
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 devlol

See All

You Might Also Like

See All
Advertisement