텍스트

한/영 오타 변환 (자판 변환)

자판을 잘못 친 한/영 오타를 바르게 변환 (gksrmf→한글)

자판을 잘못 눌러 깨진 글자를 입력하면 실시간으로 바로잡아 줍니다.Type text broken by a wrong keyboard layout to fix it in real time.

변환 결과

Result

-

문자를 입력해 주세요.

Please enter some text.

참고용: 표준 두벌식 자판 매핑 기준이며, 매핑표에 없는 특수 자판·모아치기 입력기는 반영하지 않습니다. For reference only: based on the standard 2-beolsik layout; other layouts or IMEs are not covered.
한/영 오타 변환이란?

한/영 오타 변환은 키보드가 영문/한글 상태를 착각한 채 입력해 gksrmf처럼 깨진 글자가 나왔을 때, 이를 원래 의도한 글자(한글)로 되돌려 주는 도구입니다. 반대로 한글을 두벌식 자판의 영문 키 값으로 바꿔볼 수도 있습니다. 모든 변환은 브라우저 안에서만 처리되어 입력한 내용이 서버로 전송되지 않습니다.

변환 방법

각 문자를 두벌식 자판 매핑표로 자모(초성·중성·종성)로 바꾼 뒤, 초성+중성+종성 순서로 한글 음절을 조합합니다. 쌍자음(Shift 조합), 겹받침(ㄳㄵㄶ 등), 이중모음(ㅘㅙㅚ 등)도 표준 조합 규칙에 따라 처리됩니다.

예: gksrmf → 한글, dkssud → 안녕. 한글 → 영타 방향은 이 과정을 반대로 적용합니다.

두벌식 자판 매핑표 — 어떤 키가 어떤 자모인가

이 도구는 표준 두벌식 자판의 키 배열을 그대로 따릅니다. 왼손이 담당하는 자음 열과 오른손이 담당하는 모음 열이 고정되어 있어, 아래 표의 대응 관계를 알면 어떤 글자가 어떤 키에서 나오는지 예측할 수 있습니다.

자모자모
qk
wl
eh
rj
an
sm
dy
fu
gb

Shift와 함께 누르면 쌍자음(Q→ㅃ, W→ㅉ, E→ㄸ, R→ㄲ, T→ㅆ)이 되고, 나머지 자음·모음 키는 Shift 없이도 그대로 사용됩니다. 이 도구의 변환 로직은 이 표와 동일한 매핑 객체를 코드 안에 상수로 담아 두고, 입력된 알파벳을 한 글자씩 대응하는 자모로 바꾼 뒤 초성·중성·종성 규칙으로 조합합니다.

자주 발생하는 오타 패턴 실례

한/영 전환을 깜빡했을 때 자주 나오는 깨진 문자열과 그 실제 의미를 검산해 보면 다음과 같습니다.

입력의도한 한글풀이
dkssud안녕d(ㅇ)+k(ㅏ)+s(ㄴ)+s(ㄴ)+u(ㅕ)+d(ㅇ) → 안+녕
gksrmf한글g(ㅎ)+k(ㅏ)+s(ㄴ)+r(ㄱ)+m(ㅡ)+f(ㄹ) → 한+글
tkfkdgo사랑해t(ㅅ)+k(ㅏ)+f(ㄹ)+k(ㅏ)+d(ㅇ)+g(ㅎ)+o(ㅐ) → 사+랑+해
한계 — 양방향 변환이 항상 명확하지 않은 이유

이 도구는 두벌식 표준 매핑을 기계적으로 적용하므로 몇 가지 구조적 한계가 있습니다. 첫째, 이미 올바른 영단어(예: "hello")를 '영타 → 한글' 방향에 넣으면 의미 없는 한글 조합으로 바뀌어 버립니다. 사람은 문맥으로 "이건 원래 영어였구나"를 판단하지만, 이 도구는 문자 하나하나를 규칙대로만 변환하기 때문에 입력이 실제로 깨진 한글인지, 정상 영단어인지 스스로 구분하지 못합니다. 둘째, '한글 → 영타' 방향은 항상 하나의 답으로 귀결되지만, 반대로 '영타 → 한글' 방향은 종성(받침) 뒤에 자음이 하나 더 오면 그것이 다음 글자의 초성인지 현재 글자의 겹받침인지 애매한 경우가 있어, 실제 사람이 의도한 글자와 다르게 조합될 수 있습니다. 그래서 변환 결과가 이상하다면 원문을 다시 살펴보고 필요한 부분만 수동으로 고쳐 쓰시기를 권합니다.

이럴 때 유용해요
  • 한/영 전환 없이 다른 프로그램에 급하게 입력해 글자가 깨진 경우
  • 채팅·메모에서 실수로 보낸 깨진 텍스트를 다시 확인하고 싶을 때
  • 두벌식 자판에서 어떤 키를 눌러야 하는지 미리 확인하고 싶을 때
What is this tool?

The Korean/English typo fixer restores text that got garbled (e.g. gksrmf) because the keyboard was in the wrong input mode, converting it back into the intended Korean text (한글). It can also convert Korean text into the English keystrokes you would type on a 2-beolsik layout. Everything runs in your browser, so nothing you type is sent to a server.

How it works

Each character is mapped to a Hangul jamo (initial/medial/final) using the 2-beolsik keyboard layout, then the jamo are composed into syllables in initial + medial + final order. Double consonants (Shift), compound finals, and diphthongs are handled by the standard composition rules.

e.g. gksrmf → 한글, dkssud → 안녕. The Korean → English direction reverses this process.

The 2-beolsik keyboard mapping table

This tool follows the standard 2-beolsik keyboard layout exactly. The consonant column handled by the left hand and the vowel column handled by the right hand are fixed, so knowing the mapping below lets you predict which letter comes from which key.

KeyJamoKeyJamo
qk
wl
eh
rj
an
sm
dy
fu
gb

Shift-combined keys produce double consonants (Q→ㅃ, W→ㅉ, E→ㄸ, R→ㄲ, T→ㅆ); the rest work without Shift. This tool's conversion logic keeps this exact same mapping as a constant in code, maps each input letter to its jamo, then composes syllables using initial/medial/final rules.

Common typo patterns, verified

Here are a few garbled strings that commonly result from a missed input-mode switch, verified against their intended meaning.

InputIntended KoreanBreakdown
dkssud안녕 (hello)d(ㅇ)+k(ㅏ)+s(ㄴ)+s(ㄴ)+u(ㅕ)+d(ㅇ) → 안+녕
gksrmf한글 (Hangul)g(ㅎ)+k(ㅏ)+s(ㄴ)+r(ㄱ)+m(ㅡ)+f(ㄹ) → 한+글
tkfkdgo사랑해 (I love you)t(ㅅ)+k(ㅏ)+f(ㄹ)+k(ㅏ)+d(ㅇ)+g(ㅎ)+o(ㅐ) → 사+랑+해
Limits — why bidirectional conversion isn't always unambiguous

Because this tool mechanically applies the standard 2-beolsik mapping, it has a couple of structural limits. First, feeding an already-correct English word (like "hello") through the "English keys → Korean" direction produces a meaningless Hangul combination — a person can tell from context that the input was really English, but this tool converts character by character with no way to tell whether the input is genuinely garbled Korean or a normal English word. Second, while "Korean → English keys" always resolves to one answer, the reverse direction can be ambiguous when a consonant follows a final consonant (batchim): it isn't always clear whether that letter is the next syllable's initial consonant or part of a compound final for the current syllable, so the result can differ from what the person actually intended. If a conversion looks off, check the original text and manually fix the parts that need it.

When is this useful?
  • You typed into the wrong app without switching input mode and got garbled text
  • You want to decode garbled text someone sent by mistake
  • You want to preview which keys to press on a 2-beolsik layout
왜 한글을 치면 영문이 나오나요?
키보드가 영문 상태인데 한글을 입력하면(또는 그 반대) 실제 눌린 키 값과 화면 표시가 어긋나 gksrmf 같은 깨진 글자가 됩니다. 본 도구는 그 깨진 글자를 두벌식 자판 매핑으로 재해석해 원래 의도한 글자로 되돌립니다.
반대로 한글을 영타로 바꿀 수도 있나요?
네. 방향을 '한글 → 영타'로 바꾸면 입력한 한글을 두벌식 자판에서 눌러야 하는 영문 키 값으로 변환합니다.
쌍자음이나 겹받침도 처리되나요?
네. Shift 조합 쌍자음(ㅃㅉㄸㄲㅆ)과 겹받침(ㄳㄵㄶㄺㄻㄼㄽㄾㄿㅀㅄ), 이중모음(ㅘㅙㅚㅝㅞㅟㅢ)까지 표준 두벌식 조합 규칙으로 처리합니다.
영문·숫자·기호가 섞여 있으면 어떻게 되나요?
매핑표에 없는 문자(숫자·기호·이미 정상인 영단어 등)는 변환하지 않고 그대로 통과시킵니다.
Why did typing Korean produce English letters?
If the keyboard is in the wrong input mode, the keys you press and what's displayed no longer match, producing garbled text like gksrmf. This tool reinterprets that text through the 2-beolsik key mapping to recover the intended text.
Can I convert Korean into English keystrokes too?
Yes. Switch the direction to "Korean → English keys" to see which English keys you would need to press on a 2-beolsik layout.
Are double consonants and compound finals handled?
Yes. Shift-combined double consonants, compound final consonants, and diphthongs are all handled using standard composition rules.
What happens to letters, digits or symbols?
Characters not in the mapping table (digits, symbols, already-correct English words) are passed through unchanged.