유즈킷YuzuKit

인코딩·복구

From Base64 to broken Korean, on one screen

Encoding is not encryption, so there is no reason to hand it to a server. Base64, URL, HTML entities, radix conversion and EUC-KR (CP949) repair all run in your browser.


        
Base64는 암호화가 아니라 바이트를 64개 글자로 바꾸는 표현 방식입니다. 디코딩하면 누구나 원문을 볼 수 있으니, 실제 비밀번호·토큰은 붙여넣지 마세요.

도구 간 이어하기

사용법

붙여넣고 방향만 고르면 바로 바뀝니다.

Base64: paste and pick a direction

Switch between encode and decode and the result appears immediately. For values used in a URL, turn on "URL-safe" to swap + and / for - and _. For email, wrapping at 76 characters is convenient.

If the decoded result is not readable text, the value is probably a file. Check it in the File & data URI tab.

Mojibake comes from reading the wrong table

Text like “Çѱ۔ appears when EUC-KR bytes are read as Latin-1, and “占쏙옙” when UTF-8 bytes are read as EUC-KR. This tool builds candidates for both cases and puts the one with natural Hangul on top.

Characters already replaced by a question mark lost their original bytes and cannot be recovered by any tool; reopen the original file.

Choose the encoding when opening a file

CSV files saved from Excel are often EUC-KR (CP949). Pick the file in the repair tab and set the encoding to EUC-KR. Automatic detection checks UTF-8 validity first, which is right most of the time.

Embed images as data URIs

Small icons are better embedded in HTML or CSS as data URIs than served as extra files. Choose a file in the File & data URI tab to get Base64 and a data: URL to copy. Large images only slow the page down, so stay under 8 MB.

자주 묻는 질문

Does Base64 encrypt anything?
No. It is just a representation that anyone can decode. Never hide a password with Base64; use HTTPS for transport protection.
Excel shows broken Korean in a CSV
Excel misreads UTF-8 CSV as ANSI (EUC-KR). Open the file in the repair tab with EUC-KR to read it, or add a BOM where the file is generated. The JSON tool's CSV tab has a BOM option too.
The decoded text still looks wrong
The bytes may be valid but not UTF-8. This tool falls back to EUC-KR and says so. If it still looks wrong, check the candidates in the repair tab.
encodeURI or encodeURIComponent?
encodeURIComponent encodes a single piece such as a query value and also encodes / : ? &. encodeURI keeps the URL structure. Turning on "Treat as a URI component" uses the first.
Do data URIs slow the page down?
Base64 is about 33% larger than the original. That is fine for small icons and fonts, not for large photos.

관련 도구