개인용 base64 대체 사이트
base64 광고 뜨길래 만듬
아래 코드 메모장에 복붙하고 .txt를 .html 로 바꾸면 됨
로 나옴
난 이거 파일로 만들고 크롬에서 북마크 해놔서 쓰는 중
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Base64 자동 디코더</title>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background-color: #f4f6f9;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 20px;
}
.container {
background: #ffffff;
padding: 30px;
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 600px;
}
h2 {
margin-bottom: 20px;
color: #333;
text-align: center;
}
.input-group {
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 8px;
font-weight: bold;
color: #555;
}
textarea {
width: 100%;
height: 100px;
padding: 12px;
border: 1px solid #ccc;
border-radius: 6px;
font-size: 14px;
resize: vertical;
outline: none;
}
textarea:focus {
border-color: #007bff;
}
.btn-group {
display: flex;
gap: 10px;
margin-bottom: 20px;
}
button {
flex: 1;
padding: 12px;
background-color: #007bff;
color: white;
border: none;
border-radius: 6px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.2s;
}
button:hover {
background-color: #0056b3;
}
button.reset-btn {
background-color: #6c757d;
}
button.reset-btn:hover {
background-color: #5a6268;
}
.result-box {
background-color: #e9ecef;
padding: 15px;
border-radius: 6px;
min-height: 60px;
word-break: break-all;
font-family: monospace;
font-size: 15px;
color: #212529;
}
</style>
</head>
<body>
<div class="container">
<h2>Base64 자동 디코더</h2>
<div class="input-group">
<label for="encodedInput">Base64 문자열 입력</label>
<textarea id="encodedInput" placeholder="여기에 Base64 문자열을 붙여넣으세요..."></textarea>
</div>
<div class="btn-group">
<button onclick="decodeText()">해독하기</button>
<button class="reset-btn" onclick="resetForm()">초기화</button>
</div>
<div class="input-group">
<label>디코딩 결과</label>
<div id="resultOutput" class="result-box">결과가 여기에 표시됩니다.</div>
</div>
</div>
<script>
function decodeBase64Utf8(str) {
try {
// 공백 및 전후 여백 제거
const cleanStr = str.trim();
if (!cleanStr) return "";
// Base64 디코딩 (한글 및 특수문자 UTF-8 깨짐 방지)
const binaryString = atob(cleanStr);
const bytes = new Uint8Array(binaryString.length);
for (let i = 0; i < binaryString.length; i++) {
bytes[i] = binaryString.charCodeAt(i);
}
return new TextDecoder().decode(bytes);
} catch (e) {
return "❌ 올바른 Base64 형식이 아닙니다.";
}
}
function decodeText() {
const input = document.getElementById('encodedInput').value;
const resultBox = document.getElementById('resultOutput');
if (!input.trim()) {
resultBox.innerText = "문자열을 입력해 주세요.";
return;
}
const decoded = decodeBase64Utf8(input);
resultBox.innerText = decoded;
}
function resetForm() {
document.getElementById('encodedInput').value = '';
document.getElementById('resultOutput').innerText = '결과가 여기에 표시됩니다.';
}
// 실시간 자동 입력 감지 (타이핑 시 즉시 디코딩)
document.getElementById('encodedInput').addEventListener('input', decodeText);
</script>
</body>
</html>
s/somisoft
• 157,564 subscribers- 1. 게시물 규정 양식
업로드 시 링크 암호화 & 필수 정보를 기입할 것
- 2. 질문
국룰, 암호화 링크 등 기본사항 질문 금지, 탭 미준수시 차단 및 삭제
- 3. 요청
요청 기준 및 양식 미준수 & 댓글로만 자료 복구 요청 시 차단
- 4. 미성년자 / 근첩 / 페미 / 다중계정
조금이라도 의심되면 선 차단, 후 해명
- 5. 좆목 / 네임드화
닉언, 네임드화 등 친목질 금지
- 6. 분탕 및 어그로 / 혐짤 / 낚시 / 뇌절
해당 카테고리의 차단 기간 및 가중처벌은 처리자 재량으로 판단
- 7. 홍보 / 판촉 / 거래
허용되지 않은 모든 형태의 홍보, 거래, 교환, 조건부 공유 시 차단
- 8. 쌀먹 / 바이러스
조건부 공유 & 수익성 링크 & 고의적인 바이러스 유포 시 갱신차단
- 9. 자료 분류 / AI
미검수 시 표기 필수, 생성형 AI를 사용한 자료의 제목에 AI 미기입 시 차단
- 10. 실사 / 토들러
업로드시 갱신 차단
- 11. 기타 세부 규정은 서브 공지사항 참고
Deleted comment.
Deleted comment.