Markdown line breaks: the short version

Use a blank line when you mean a new paragraph. Use two trailing spaces or a backslash at the end of a line when the next line should remain in the same paragraph. A single ordinary source newline is a soft break, so many renderers display it as a space.

Markdown source
First paragraph.

Second paragraph.

Street address  
City, State ZIP
Rendered structure
First paragraph.

Second paragraph.

Street address
City, State ZIP
What you wantMarkdown sourceTypical resultPortability
New paragraphLeave one blank lineSeparate paragraph blocksBest for normal prose
Hard line breakTwo spaces before the newlineA new line in the same paragraphPortable, but the spaces are invisible
Visible hard-break markerBackslash before the newlineA new line in the same paragraphCommonMark-compatible and visible in source
HTML break<br>A browser-style line breakOnly where raw HTML is allowed

Why pressing Return once may not create a visible break

Markdown distinguishes a soft line break from a hard line break. A soft break is an ordinary newline in the source. It keeps the text in one paragraph, so an HTML renderer can display that source boundary as a normal space.

This behavior lets you wrap long source lines without inserting unwanted visual breaks. If the line boundary matters to the reader, add a hard-break marker or start a new paragraph explicitly.

One paragraph in the source
This is one line in the source.
This is the next line in the source.
Typical rendered result
This is one line in the source. This is the next line in the source.

Add a new paragraph with a blank line

A blank line is the clearest way to separate two ideas. It produces two paragraph blocks rather than two lines inside one block.

Use this method for articles, documentation, README files, notes, and most other prose. Do not insert <br> between every paragraph just to create vertical space; paragraph structure is easier for readers, stylesheets, and future converters to understand.

Markdown source
The migration is complete.

The team can now review the converted files.
Rendered result
The migration is complete.

The team can now review the converted files.

Add a hard line break with two trailing spaces

Put two spaces at the end of the first line, then press Return. The spaces tell a compatible renderer to insert a hard break without ending the paragraph.

The drawback is visibility. Editors may trim trailing whitespace, and reviewers cannot always see that the two spaces are present. If a formatter removes trailing spaces, use the backslash method instead.

Markdown source
Jane Rivera  
Documentation Lead
Rendered result
Jane Rivera
Documentation Lead

Add a hard line break with a backslash

Place a backslash immediately before the source newline. This produces the same kind of hard break in CommonMark-compatible renderers, while leaving a visible marker in the source.

Use the backslash only at the end of the line. A backslash elsewhere normally escapes the character that follows it instead of creating a line break.

Markdown source
Line one\
Line two
Rendered result
Line one
Line two

Use an HTML break only when the destination accepts HTML

Raw HTML gives you an explicit break marker. The ilovemd preview currently allows raw HTML, so <br> renders as a line break here. Some publishing systems sanitize or disable embedded HTML.

If the document must move between several Markdown tools, prefer a blank line, two trailing spaces, or a backslash. Use an HTML break only after checking the final renderer.

Markdown source
Line one<br>
Line two
Rendered result where HTML is allowed
Line one
Line two

Line breaks, paragraphs, and horizontal rules are different

A blank line starts a paragraph. Two spaces or a backslash at the line ending creates a hard break inside a paragraph. A thematic break marks a change of scene or topic; it is not a substitute for vertical spacing.

SyntaxMeaning
Blank lineStart a new paragraph
Two spaces or backslash at the line endingStay in the same paragraph but show a new line
--- on its own lineInsert a thematic break or horizontal rule

Line breaks inside lists, blockquotes, and tables

Inside a list item, indent continued content so it remains part of the item. For a distinct paragraph inside the item, leave a blank line and keep the continuation indented.

Inside a blockquote, prefix each source line with > for the clearest source. A literal source newline normally ends a pipe-table row, and standard Markdown does not define multiline pipe-table cells. Some renderers accept <br> inside a cell, but you should test that table in its final destination.

Continued list item
- First paragraph in the item.

  Second paragraph in the same item.

> First quoted line.  
> Second quoted line.
Expected structure
• First paragraph in the item.
  Second paragraph in the same item.

  First quoted line.
  Second quoted line.
Rebuild a Markdown tableCreate a valid row-and-column table instead of forcing unsupported multiline cells

Fix a Markdown line break that is not working

Start with the smallest failing example. Once the break renders correctly, add the surrounding list, quote, table, or code structure back one piece at a time.

  1. Choose the right structureUse a blank line for a paragraph; use two spaces or a backslash for a hard break.
  2. Look for trimmed whitespaceA formatter may have removed the two spaces at the end of a line.
  3. Check the final rendererYour editor and publishing platform may use different Markdown rules or HTML settings.
  4. Inspect the surrounding blockLists, quotes, tables, and code fences have their own continuation rules.
  5. Close any code fenceMarkdown syntax is displayed literally inside a fenced code block until the fence is closed.

Test the rendered result before you publish

Source that looks correct can still change when another renderer handles soft breaks, raw HTML, tables, or extensions. Test the smallest example in a rendered preview, then check the finished document in its real destination.

Open Markdown PreviewCompare the source with its rendered line breaksOpen the Markdown Cheat SheetCopy line-break syntax and review related Markdown rulesInspect Markdown as HTMLSee whether the source becomes a paragraph or a br element

Official references

The CommonMark specification defines soft and hard line breaks. GitHub Flavored Markdown builds on CommonMark and documents the extension boundary for GitHub-compatible renderers.

Frequently asked questions

Markdown syntax FAQs

How do I add a line break in Markdown?

End the first line with two spaces or a backslash, then press Return. Both create a hard line break in CommonMark-compatible renderers. Use a blank line instead when you want a new paragraph.

How do I start a new line in Markdown without a new paragraph?

Add two trailing spaces or a backslash at the end of the current line. The following text stays in the same paragraph but renders on a new line.

Why does a Markdown new line show as a space?

An ordinary source newline is a soft break. Many HTML renderers display soft breaks as spaces inside one paragraph. Add a hard-break marker or a blank line when the boundary must be visible.

Should I use two spaces or an HTML break in Markdown?

Two trailing spaces are more portable. An HTML break only works where raw HTML is accepted. A backslash at the end of the line is a visible, portable alternative.

How do I add a blank line in Markdown?

Leave an empty source line between two blocks of text. That starts a new paragraph. Repeating empty lines usually does not create progressively larger gaps because the renderer controls the final spacing.

Can I put a line break inside a Markdown table?

Standard Markdown does not define multiline pipe-table cells. Some renderers accept an HTML break inside a cell, but others sanitize HTML or handle tables differently. Test the table in its final destination.

What is the Markdown syntax for a horizontal line?

Put three or more hyphens, asterisks, or underscores on a line by themselves. Leave blank lines around the marker to keep it distinct from headings and surrounding text.