Categories

AutoCAD 2013 & AutoCAD LT 2013 Bible

The most comprehensive AutoCAD book around!

AutoCAD 2012 Bible

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. (In AutoCAD 2009, click the Menu Browser first.)

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.

Check out this free dynamic block tutorial

Plus get free tips in our AutoCAD Tips Newsletter!

Dynamic Block TutorialGet a free tutorial on creating a complete dynamic block, including a drawing to practice on. You'll make a movable chair, resizable desk, and more. PLUS, the highly-acclaimed AutoCAD Tips Newsletter will keep your skills up to date!

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.

34 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.http://www.ellenfinkelstein.com/acadblog/wordpress/wp-admin/edit-comments.php?p=892#comments-form

  • 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.

  • MARTIN

    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, http://www.ellenfinkelstein.com/acadblog/tutorial-automate-tasks-with-a-script-file/, 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!

  • BRETT

    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

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

  • Ellen

    Melina,
    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

    Ellen-

    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

    hi..
    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!

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=""> <strike> <strong>