Home › Text Tools › Pinyin Tone Converter

Pinyin Tone Converter

Type pinyin with tone numbers (ni3 hao3) and get correctly placed tone marks (nǐ hǎo), or go the other way. It runs in your browser as you type, with no uploads.

Last updated:

mā1st · high level
má2nd · rising
mǎ3rd · dip
mà4th · falling
maneutral · light
Advertisement

How to use the Pinyin Tone Converter

  1. Choose a mode: Numbers → Tone marks, Tone marks → Numbers, or Remove tones.
  2. Type or paste pinyin in the left box. Put the tone number after each syllable, e.g. zhong1 guo2 or zhong1guo2.
  3. Write ü as v or u: if your keyboard has no ü: lv4 and lu:4 both become lǜ.
  4. Read the result on the right. It updates as you type; use the options to pick how ü is written.
  5. Press Copy result to paste it into a document, flashcard app or message.

Pinyin tone mark rules

Mandarin has four tones plus a light neutral tone. In pinyin each tone is shown with a mark over one vowel of the syllable. When a syllable has more than one vowel, the mark follows three simple rules, which this converter applies automatically:

  1. a or e takes the mark whenever the syllable contains one: hǎo, kuài, xiè, wēi.
  2. In ou, the o takes the mark: dōu, zhōu, ròu.
  3. Otherwise the last vowel takes the mark: liú, guì, duō, xué, nǚ.
ToneNumberMarkExamplePitch
First1macron ¯mā (mother)High and level
Second2acute ´má (hemp)Rising
Third3caron ˇmǎ (horse)Low, dipping
Fourth4grave `mà (to scold)Sharply falling
Neutral5 or 0nonema (question particle)Short and light

Typing ü and other tips

Most keyboards have no ü key, so learners write v or u: instead: lv4 → lǜ, nu:3 → nǚ. Standard pinyin only needs the dots after n and l; after j, q, x and y the letter is always ü in sound but is written u (ju, qu, xu, yu). Use an apostrophe to separate syllables that could be read two ways, for example Xi1'an1 → Xī'ān (the city) versus xian1 → xiān.

When converting marks back to numbers the tool splits each word into valid syllables, choosing the fewest syllables when a word could be split more than one way. Add an apostrophe if you want a different split.

Where tone numbers are used

  • Dictionaries and flashcards such as CC-CEDICT data use numbered pinyin (zhong1 guo2), which is easy to search and sort.
  • Textbooks and printed material use tone marks because they are easier to read.
  • Typing on a phone or PC is faster with numbers; convert them to marks here before you paste into a document or slide.

Need other text helpers? Try the case converter or the word counter.

Frequently asked questions

Where does the tone mark go in pinyin?

The mark goes on a or e if the syllable has one (hǎo, xiě). In ou the mark goes on o (dōu). Otherwise it goes on the last vowel, so it is liú and guì, not líu or gùi.

How do I type ü in pinyin?

Type v or u: instead, for example lv4 or lu:4 for lǜ and nv3 for nǚ. After j, q, x and y the dots are left out in standard pinyin (ju, qu, xue, yu), so you only need ü after n and l.

What number is the neutral tone?

The neutral (light) tone is usually written as 5, sometimes 0, or with no number at all. This tool leaves neutral syllables without a mark, so xie4xie5 becomes xièxie.

Can it convert tone marks back to numbers?

Yes. Choose Tone marks → Numbers. The tool splits words such as Zhōngguó into syllables and adds the number after each one: Zhong1guo2. Tick Mark neutral tone with 5 if you want unmarked syllables to get a 5.

Why were some words not converted?

With Only convert valid pinyin syllables ticked, items like abc3 or room 101 are left alone because they are not real pinyin. Untick the option to put a mark on any letters followed by 1–4.

Does it change tone 3 sandhi?

No. The tool writes the dictionary tones you type. Tone changes in speech, such as 3 + 3 becoming 2 + 3 (nǐ hǎo is said ní hǎo), are not written in standard pinyin.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Case ConverterConvert text to UPPERCASE, lowercase, Title Case, camelCase and more.Fancy Text GeneratorTurn text into cool Unicode fonts for bios.Text to SpeechTurn text into natural-sounding speech.Word CounterCount words and characters and clean up text.Korean KeyboardType Korean Hangul online with the 2-set Dubeolsik keyboard; jamo combine automatically.Online Word ProcessorFree browser word processor with headings, lists, tables and images. Autosaves; export DOCX or PDF.Remove Line BreaksStrip line breaks and extra spaces, keep paragraphs if you want.Sort Lines AlphabeticallySort a list A-Z, Z-A, numerically, naturally or by length, or shuffle it.MLA Format GeneratorBuild an MLA 9 heading, title page layout and Works Cited entries.Lorem Ipsum GeneratorGenerate placeholder text as paragraphs, words or lists, with HTML.Text RepeaterRepeat any text or emoji up to 100,000 times with custom separators.Find and Replace TextFind and replace words or regex patterns in any text, with match highlighting and undo.Add Line NumbersNumber every line of your text with custom start, step, padding and separator, or remove numbers.Add Prefix and Suffix to LinesAdd text to the start and end of every line: quotes, commas, bullets or SQL lists.Comma SeparatorTurn a column of lines into a comma separated list and back, with any delimiter.Text to Handwriting ConverterTurn typed text into realistic handwriting on notebook paper and save it as PNG or PDF.Japanese Kana ConverterConvert romaji to hiragana or katakana, kana to romaji, and hiragana to katakana instantly.Remove Duplicate LinesDelete duplicate lines from any list, ignoring case or spaces, keep first or last, and sort.Remove Extra SpacesClean up double spaces, tabs, blank lines, non-breaking and invisible spaces in one click.Random Word GeneratorGenerate random English words by type, length, first letter and syllables, then copy them.List RandomizerShuffle a list into random order, pick random items or split it into fair teams.Email ExtractorPull every unique email address out of text or files, sort, filter by domain and export CSV.URL ExtractorExtract every link from text or HTML, remove duplicates, filter by domain or protocol.Strip HTML TagsRemove HTML tags and get clean plain text with line breaks and decoded entities.Online NotepadPrivate notepad that autosaves notes in your browser, with find, word count and .txt download.Remove PunctuationStrip all or only selected punctuation from text, with smart options for apostrophes and numbers.Text SplitterSplit long text into chunks by characters, words, lines or a delimiter, with numbering and copy.Remove AccentsStrip accents and diacritics from text (é→e, ñ→n, ß→ss, ø→o) instantly, live as you type.Sort NumbersPull numbers out of any text and sort them ascending or descending, with sum, average and median.Thread SplitterSplit long text into numbered X, Threads, Bluesky or Mastodon posts at sentence boundaries.Duplicate Word FinderFind repeated words in your text: doubled words like "the the" and overused words, highlighted.Alternating Caps GeneratorTurn text into aLtErNaTiNg caps, random caps or alternating words, then copy it.Random Paragraph GeneratorGenerate readable random English paragraphs by topic and length for writing and design.Random Sentence GeneratorGenerate random grammatical sentences: simple, compound, complex and questions.Markdown to Plain TextStrip Markdown syntax and keep clean plain text with lists, line breaks and link URLs.SRT to TextTurn SRT or VTT subtitles into a clean transcript with paragraphs, with or without timestamps.Transcript CleanerRemove timestamps, speaker labels and filler words like um and uh, and fix broken line breaks.Extract Numbers from TextPull every number out of text: decimals, negatives and percentages, with sum, average and CSV.DOCX to Text ConverterExtract plain text from Word .docx files, in batch, with list markers, tables and .txt download.English to IPA ConverterConvert English text to IPA phonetic transcription in US or UK accent, with stress marks.Hidden Character DetectorFind and remove zero-width spaces, non-breaking spaces and other invisible Unicode characters.Letter to Number ConverterConvert letters to alphabet numbers (A=1 to Z=26) and back, with ASCII codes and letter sums.Markdown to Word ConverterConvert Markdown to a styled Word .docx file with headings, lists, tables, code and links.Plural GeneratorConvert English nouns from singular to plural and back, irregulars included, one word per line.Remove Empty LinesDelete blank and whitespace-only lines, or collapse gaps to one, with before/after line counts.Remove Text FormattingPaste rich text from Word, Google Docs or the web and get clean plain text instantly.Smart Quotes ConverterConvert curly quotes, dashes and ellipses to straight ASCII, or straight quotes to typographic ones.Text to HTML ConverterTurn plain text into clean HTML: paragraphs, line breaks, links, lists and escaped entities.Text to Word ConverterTurn text or a .txt file into a Word .docx with your font, margins and page size.WhatsApp Text FormatterFormat WhatsApp messages with bold, italic, strikethrough, monospace, lists and quotes, then copy.Word CombinerBlend two or more words into portmanteaus, compound and clipped names for brands and wordplay.Word to HTML ConverterConvert Word .docx files or pasted rich text into clean, semantic HTML with live preview.Word Wrap ToolWrap text at any column width with hard line breaks, indents and prefixes, or unwrap it again.Daily Affirmation GeneratorGet random positive affirmations by theme; save favorites, copy them or make an image card.Business Plan GeneratorFill in a guided form and get a formatted business plan with financial tables, as Word or PDF.Keyword Match Type ConverterTurn a keyword list into broad, "phrase", [exact] and negative match types for PPC ads.Discord Text FormatterFormat Discord messages with bold, spoilers, headers, quotes, lists and code blocks, with live preview.DNA Reverse ComplementGet the reverse, complement or reverse complement of DNA/RNA, FASTA and IUPAC codes supported.Filter Lines Containing TextKeep or remove lines that contain words or match a pattern, with match counts and regex.Focus Reading ConverterBold the first letters of every word for faster, focused reading. Copy as rich text or HTML.Memo GeneratorWrite a business memo in standard To/From/Date/Subject format, then print, copy or save as .docx.PDF Text CleanerFix text copied from a PDF: join broken lines, undo hyphen splits, drop page numbers and headers.Pros and Cons List MakerWeigh a decision with a weighted pros and cons list, a score, a verdict and easy export.Remove Numbers from TextStrip all numbers and digits from text, keep MP3-style words or ordinals, and tidy the spaces.Return Policy GeneratorCreate a return and refund policy for your store as text or HTML, with a refund example.Screenplay FormatterType a script in plain text (Fountain) and get a properly formatted screenplay, page count and PDF.Word ChangerSwap words for synonyms in your text, then click any word to cycle through alternatives.Words That End WithFind English words ending in any letters or suffix, filtered by length and sorted by score.
See all 96 Text Cleaning & Formatting →