To find and replace text inside an AutoCAD drawing, start with the desktop application's FIND command. It opens Find and Replace, where you specify the old text, replacement, and search scope. Review a match before using Replace All. A browser text utility is optional for cleaning text you have already copied out; it does not open a DWG, select drawing objects, or write changes back to AutoCAD.

Use FIND in desktop AutoCAD
- Save a copy of the drawing. Close any active text-editing session, then enter FIND at the command line.
- Enter the old text in Find What and the new text in Replace With.
- Set Find Where deliberately: search the drawing, current layout, or selected objects as offered by your version. An existing selection can make Selected Objects the default.
- Review Match Case, Find Whole Words Only, and Use Wildcards. For an ordinary literal substitution, leave wildcard searching off.
- Use Find or Find Next and inspect the result. Replace one match first; use Replace All only after confirming the scope and matching behavior.
- Recheck the affected labels and remaining matches, then save the reviewed drawing.
The Autodesk FIND dialog reference documents these scope, matching, and result controls. Menu layout and options may vary by AutoCAD release, platform, and toolset; these desktop steps are not a claim that AutoCAD Web exposes the same replacement interface.
Choose the text objects and scope you actually intend
FIND has controls for text types such as single-line or multiline text, block attribute values, dimension or leader text, and table text. Check the relevant types rather than assuming every object with a visible label behaves alike. Its Search Blocks, Search XRefs, and hidden-item settings affect what can appear in results. A listed match is a reason to inspect the owning object, not proof that an external reference or every drawing in a project has been edited.
A layer name or block definition name is an object identifier, not simply a text label. Copying its characters into a text utility does not rename the object in the drawing. Likewise, an exported attribute list is a separate file; cleaning that file does not by itself update attributes in any DWG.
Replace text inside one MTEXT object
If the change belongs in a single multiline text object, edit that MTEXT and select Find and Replace in the text editor or its shortcut menu. Enter the find and replacement strings, review Match Case and whole-word settings, and use Find Next before replacing. Autodesk documents this as a separate MTEXT Find and Replace dialog. It is useful when you want the editing context to stay within that text object.
Literal text, wildcards, and formatting
AutoCAD supports wildcard searches when Use Wildcards is enabled. If your code contains punctuation, check that option before replacing it. You do not need an external utility simply to avoid wildcard interpretation: turn the option off for a literal search.
For example, to change Rev-A to Rev-B, decide whether a longer label such as Rev-A-OLD should match too. Whole-word and case settings can change the intended result. Review an example from your drawing rather than assuming that a replacement count proves the right objects were changed.
Autodesk's finding and replacing text overview explains that replacement works on text content rather than changing character formatting or text properties. If you are trying to change a style, layer, font, or object name, use the appropriate AutoCAD operation for that property.
Optional: review copied plain text in the browser
The Find and Replace Text tool is appropriate for a standalone note or plain-text list copied from your workflow. It processes at most 1,000,000 input characters locally, uses literal find and replacement strings, and reports a replacement count with a preview. It has no DWG reader, drawing-object mapping, automatic import, or batch-drawing update capability.
- Keep the original copied text and paste a separate working copy into the source field.
- Enter a nonempty find string and the replacement. An empty replacement deletes the matched text.
- Choose case sensitivity and whether to replace the first match or all non-overlapping matches.
- Run the replacement and inspect both the count and the complete preview. If the result is useful for one annotation, select and copy the intended text, then apply it manually in that object's editor.
- Check the drawing visually and save only after confirming that the intended object changed.
The browser result is plain text. It does not retain AutoCAD object identity, text styles, attribute links, or drawing geometry. Do not paste an entire exported CSV into a general text replacement and assume it remains a valid import: separators, quoting, identifiers, and the supported import workflow must be checked separately. This guide does not provide or promise a bulk export-and-reimport method.
Plain-text matching examples and limits
| Input and setting | Expected text result | What it does not do |
|---|---|---|
| Find aa in aaaa, replace all with X | XX: matches do not overlap | Does not search the newly inserted replacement again |
| Find SPEC_v2* with case-sensitive mode on | Matches that exact sequence, including the asterisk | Does not treat the asterisk as a pattern |
| Find Rev-A and leave replacement empty | Removes the selected literal matches from the text preview | Does not delete any drawing object |
| Find string is absent | Zero replacements; source text remains unchanged | Does not prove the drawing contains no other instances |
The browser tool has no regex or whole-word switch. Its case-insensitive comparison uses English-locale lowercasing, not a universal Unicode or accent-equivalence rule. Use case-sensitive mode for exact identifiers and carefully review international text. Editing a control clears the previous result, so run the operation again before using a preview.
If the replacement does not reach the expected label
Check the active drawing, selected-object scope, layout, matching options, and included text types. Then identify whether the visible content belongs to a block, an external reference, or a property rather than ordinary text. Work within AutoCAD's supported editor for that object. For multiple drawings, use a separately reviewed AutoCAD automation or toolset workflow; this page's browser utility does not implement that operation. These instructions were checked against Autodesk documentation and the current text-tool implementation, not a fresh hands-on AutoCAD session.
If you're weighing options, Find and Replace Online Cheat Sheet: Controls and Limits covers this in detail.
If you're weighing options, Find and Replace Online Example: Literal Text Changes covers this in detail.