JSON/String to Base64 Conversion Tool
This is a simple client side tool for base64 conversion needs. Easily convert json objects or other data to base64 strings. Can convert them back to their original form as well.
Features
- Encode JSON data or plain text strings to Base64.
- Decode Base64 back to the original string or JSON data.
- Works in the browser. Your data is safe
- Informs user if the data is valid JSON while converting
- Dark/Light/System theme switch (persists through local storage)
Tech Stack
- Next.JS 14.0.3 : Using next.js and static exports
- Tailwind Css: Styling
- Shadcn/UI: For accessible buttons/dialogs/tabs
- react-syntax-highlighter: Syntax highlighting in documentation page
- @uiw/react-textarea-code-editor: Light code editor for JSON syntax highlighting
Usage
Conversion to base64: Type or paste your data in the "JSON to BASE64" tab to encode it. Click the copy button to copy the generated string.
Conversion from base64: Paste any base64 encoded string in the "Base64 to JSON" tab to decode it. Click the copy button to copy the generated output.
Deployment
This app is deployed to github pages free of charge. Visit the repo here or the deployed app here