AutoCAD 2015 and AutoCAD LT 2015 Bible

The most comprehensive AutoCAD book around!

Tutorials:Convert text to Mtext and vice versa

Text, also called single-line text, or Dtext, makes every line a separate object. It’s great for short annotation in a drawing. On the other hand, Mtext, also called multiline text, has more formatting options, and is better for larger amounts of text. Mtext is especially important if you need to create left and right margins and wrap the text between those margins.

Sometimes, you have single-line text that should be multiline text, or vice versa. Here are two simple ways to convert between the two types of text.

From text to Mtext

To convert from text to Mtext, use the Express Tools command TXT2MTXT. Choose Express> Text> Convert Text to Mtext.

At the Select objects: prompt, select the text objects that you want to convert. If you press Enter instead, you get the Text to MText Options dialog box. Set the options as you want and press OK. By default, the command sorts from the top object downward, and tries to word wrap the Mtext that it creates.

One nice feature of the command is that if you select text objects first, the command executes without further input — very efficient! Another efficient feature is that the command does a true conversion; your old text objects are gone.

Tips: If you have more than a handful of text to change, it might worth while to automate the process using script file.

## Dynamic block is another great productivity tip to master. Sign up below to get your Free tutorial on creating a complete dynamic block, including a drawing to practice on. You’ll make a movable chair, resizable desk, and more.

From Mtext to text

The easiest way that I found to convert Mtext to text is simply to copy and paste. Double-click the Mtext to open the Mtext editor. Select the text and copy to the clipboard. Then close the editor.

Start the DTEXT or TEXT command. Specify the start point, height and rotation angle as usual. You’ll then see a small box and cursor. Paste from the clipboard and press Enter to end the command. You’ll then need to delete your Mtext object.

Jimmy Bergmark reminded me that you can simply explode the Mtext. The difference is that you’ll keep the line wrapping. It all depends on which result you want. A bonus is that you don’t have to delete the original object.

Want more productivity tips like this? You can draw and edit faster and easier with this easy to follow top 25 productivity tips every AutoCAD user should know.

Ellen Finkelstein

48 comments to Tutorials:Convert text to Mtext and vice versa

  • Jayantha Samarasinghe

    ok. then how to convert set of M text to D text.
    Please reply

  • admin

    There’s no difference between dtext and text. The second half of the tip explains two methods to convert mtext to text.

  • Nirantar Vidyarthee

    Is there any way to convert MText to text in a dimension? To explode the MText, I need to explode the dimension which is not acceptable.

  • Mustafa Ipekgil

    thank you very much. TXT2MTXT command solved my annoying problem.


    Very helpful hint. But I have question what if I have over 1000 texts as point text. When I select all texts and convert them to Mtext there is one block of Mtext.Simply I need them to stay onsame place where they were before conversion.
    Thanks man…

  • Ellen

    It sounds like a job for a script that would convert each one separately. This tip,, might help.

  • Ahak

    Is there any way to convert exploded text that appears like plines and is not editable 🙁

  • Ellen

    Back to the original text? Not that I know of. Sorry!


    Is it possible to run a similar command in LT? Started my own company and it didn’t seem like it was worth spending the extra money on the full version for my needs… turns out LT does not include the Express Tools (which I didn’t realize) and these tools are so convenient! TCIRCLE, TXT2MTXT, etc.

  • Ellen

    I don’t have LT to test it, but how about copying the text and pasting into an MTEXT window?

  • Shoheb Mohammed

    Hi Ellen,
    thanx for this help, but i have a problem with this, if I am selecting similar text words n going to convert, text is not converting from text to mtext dat r romoving why its like this, should i select one by one or can i select similar and covert it.

  • Ellen

    I’m not sure I understand your question. If you select multiple objects, the command combines them into 1 MText object. If you want to keep them separate, choose one text object each time you use the command.

    You can also use the Options option (I know that sounds funny) to specify whether the order of the resulting Mtext is from the top down or in selection order. And also you can uncheck the checkbox in that Text to MText Options dialog box so that the words don’t wrap; in that case, you get a list of items, but they are still one Mtext object. I hope that helps.

  • Melina

    is there any way I can change all text to mtext without having to convert them one by one?
    Thank you.

  • Ellen

    See my answer to the previous comment. It would be possible to write an AutoLISP program to do it, but I’m not a programmer.

  • Dave

    Hi Ellen

    I have having hard time changing Text View Direction during placing the dimension. If you can show me the path to change it…would be greatly appreciated

  • Joe


    I was using MTEXT and I inadvertently hit something that turned off/hid the command line that allows me to edit my MTEXT for size, left, right and center justification, color, text type…etc. It usually is placed above the TEXT box. I’m unable to figure out how to restore that window so that I may edit my MTEXT.

  • Ellen

    Not sure if I can answer, but without know which release you have…
    Are you using the ribbon? Menus?

  • genbourne

    how do i convert text to multi text in cad 2011? i only know in 2010 command text2mtext but in 2011 it is unknown.

  • rico

    how do change multi line text to single line text??
    thx for reply

  • Pete Martin

    Another way to convert multi-line text (MText) to Text without the copy/paste method is to simply use the “Explode” command.

    For MText that contains a return character you’ll get two or more lines of Text. The added benefit (or drawback) is that any control characters embedded within the MText object will be stripped away.

  • Dale B

    You are the best. I always look for your aritcles when I forget a command line. Honestly, thank you, you are a life saver. 🙂

  • jeff davison

    I am using Civil 3d 2013. when i open dwg there is no text. Have to restart or shut down computer then reopen drawing to get the text to be visable. Reciently went to Windows 7 and 64bit. Can any one help????

  • siddiq

    possible to add wattage in several text in a sigle command

  • Ellen & Pete Martin: Exploding MTEXT to TEXT works but it loses the alignment properties of the MTEXT – it always defaults to left-aligned. I’d call that a bug.

    Also, the Express Tools explode text command has hilarious results when exploding a Truetype font. Try it. It exploded to polylines for me in AutoCAD 2013 using Arial Narrow.

  • ArkEtect

    In my AutoCAD Architecture 2013, the Express Tools button “Convert to Mtext” returns this message:

    “txt2mtxt Unknown command “TXT2MTXT”. Press F1 for help.”

    Is this an installation problem? I can’t find any links to this being a widespread problem so it may be an isolated issue for my installation. Thank you in advance for any help you can provide.

  • Jay

    I’m also having the same problem as ArkEtect, but in AutoCAD Building Design Suite. I’ve made sure the file txt2mtxt.lsp is in the proper Express folder, but it still doesn’t work. I haven’t been able to find much help on it either. Any help you can provide would be greatly appreciated.

  • DougMc

    Leave out the “e” – txt2mtxt.

  • lokesh chowdary

    Use Explode command to convert Text 2 Mtext

  • v suresh

    how to convert set of M text to D text.
    Please reply

  • David Palmer

    There appears to be an issue with the TJUST Express Tool. I convert TEXT to MTEXT, changed the justification of the MTEXT block, then exploded the MTEXT block. I then used TJUST Express Tool to make the text MC justified. Upon further investigation I noted that MC insertion points in each line of text do not line up, i.e. the centre points are staggered slightly. This does not happen if you use the ordinary TEXT command and select justify at the start.

  • usama

    I NEED THE COMMAND replace TEXT in autocad 13 in command VERY OLD AUTOCAD

  • Zabil

    Thank you great.Your page is very helpful , it is easy ,understandable for non English spoken users.
    Tutorials which you give are helpful. Thank you!

  • PaulG

    I am using AutoDesk Inventer Suite Mechanical V14. Does not seem to have TXT3MTXT command, is there a way to get it?

  • PaulG

    TXT2MTXT is not in Mechanical 14 is there a way to get it?

  • RickR

    Hi, this may be a bit beyond the topic but,
    I would like to export the “text” list and it’s (xyz coordinates) location from the drawing? Is this possible?
    The file would look something like this: (text,x,y,z)
    9,0,0,0 (meaning the text is “9”, x axis is 0, y axis is 0, z axis is 0)
    4,3,4,0 (meaning the text is “4”, x axis is 3, y axis is 4, z axis is 0)

    Thanks very much.

  • GathenG

    RickR……You can use the Extract Data command in AutoCAD to provide the information your looking for. The data can be extracted to an Excel file or txt file.

  • Tawfik Shehata

    Run DATAEXTRACTION and follow the prompts, be sure to only select the Text object type, and the Geometry of X,Y,Z, or otherwise you can extract the whole lot to a spreadsheet then refine them in Excel.



  • Thanks for the great tutorial. We love passing these tips and tricks off to our students.



  • Nomercy

    mtext to text – use explode

  • priyanka uprety

    this was helpful to me…thankyou…

  • inspirecad

    Inspire CAD takes pride in transforming your original pieces into a 3D modeling using CAD services

  • SID


  • Charles Grove

    You can also explode a MTXT to change it to single line txt.

  • Richard Lawrence own solution
    (defun c:-taxt2mtaxt (/ ss cnt)
    (setq ss (ssget ‘((0 . “TEXT”))))
    (if ss
    (repeat (setq cnt (sslength ss))
    (command “txt2mtxt” (ssname ss (setq cnt (1- cnt))) “”)

    1. Put this into some AutoCAD autoloaded *.lsp file, for example, acad2016doc.lsp. Start AutoCAD.
    2. Select all single-line TEXT You need to convert.
    3. In command line type “taxt2mtaxt” and press Enter. All single-line TEXT will be converted into multi-line TEXT in-place.
    No UNION in ome big multi-line TEXT

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>