File format · .ked

KEDIT Profile and Macro File (.ked) Repair and Recovery Guide

What a KEDIT .ked profile or macro file is, why it becomes unreadable, and how our engineers recover damaged KEDIT editor configuration and macro data.


KEDIT is a text editor for Windows developed by Mansfield Software Group, descended from IBM's XEDIT editor for VM/CMS. Like its ancestor, it is highly configurable: users tailor its behavior through profile files and automate it through macros written in the KEDIT macro language. Files carrying the .ked extension in this context hold editor profile settings or macro logic, and when one is damaged the editor may refuse to start cleanly, lose custom key bindings, or fail to run familiar commands. We recover corrupt, damaged, and inaccessible .ked files, and this page explains what they are, why they break, and what recovery can achieve.

What a KEDIT profile and macro file is

A profile file is executed automatically when KEDIT starts. It sets options, defines keys, loads synonyms, and configures the editing environment to your preferences. A macro file contains scripted commands, typically written in the KEDIT macro language, a REXX-derived scripting environment that lets you automate editing tasks the way XEDIT users have for decades.

Both kinds of file are plain text. They contain no binary container, no embedded formatting, and no proprietary compression. That simplicity matters for recovery: the content you care about is readable command text, and damage rarely destroys the whole file at once. For authoritative details on file naming and macro execution order, the KEDIT documentation from Mansfield Software Group is the definitive reference.

How these files are structured

Because a .ked file is plain text, its structure is simply lines of script or SET commands. A profile might assign keyboard functions, set tab stops, or define synonyms. A macro might contain parsing logic, loops, and editor commands. Encoding is normally a single-byte character set or, in later versions, Unicode, and line endings follow the platform convention.

There is no magic number or binary signature to inspect, since the format is textual. Recovery work therefore focuses on the bytes themselves: which lines survive intact, where truncation occurred, and whether stray binary bytes from a disk fault are interleaved with the script text.

Why .ked files become corrupt or unreadable

Plain text files are vulnerable in specific, well-understood ways:

  • Partial writes, when the editor or system loses power mid-save, leaving a truncated file.
  • Disk and filesystem faults that overwrite sectors with garbage bytes.
  • Encoding conversion that mangles non-ASCII characters beyond recognition.
  • Transfer damage, such as FTP in the wrong mode or interrupted downloads.
  • Accidental overwriting by another program or an errant script.
  • Macro bugs that rewrite the profile with malformed content.

A corrupted profile often shows itself immediately: KEDIT starts with default settings, reports a syntax error during startup, or hangs while processing the file. A damaged macro fails partway through, or runs with commands missing.

What can be recovered from a damaged .ked file

In most cases, a great deal. Because the content is line-oriented text, damage tends to be localized. We can usually recover:

  • All intact command lines and SET options from a partially overwritten file.
  • Key definitions, synonyms, and configuration values.
  • Macro logic from files truncated mid-script.
  • Readable text from files contaminated with binary garbage, by extracting the surviving script lines.

The main limitation is honest and unavoidable: bytes that were physically destroyed, by a failing drive overwriting them for instance, cannot be reconstructed. If a line is gone, no tool can know what it said. What we can do is recover everything that physically survives and rebuild a clean, working file around the gaps.

How our KED recovery works

You upload the damaged .ked file through our secure intake. Our engineers examine it at the byte level, determine how much of the script survives, and send you a fixed-price quote with a clear statement of what is recoverable. On approval we extract the surviving content, repair the structure, and return a working file. Evaluation is free, and if we cannot recover your data there is no charge.

Frequently asked questions

Can a .ked file be repaired automatically by the editor?

Not reliably. KEDIT will report errors in a bad profile or macro but will not reconstruct missing content. Manual repair of the text is usually needed once damage goes beyond a simple typo.

Is a corrupt .ked file dangerous to open?

No. It is plain text and cannot execute itself outside the editor. The risk is confusion rather than harm: a half-written macro may behave unexpectedly when run, so repair before reuse is the safe path.

My profile loads but my settings are gone. Is that corruption?

Possibly. If the file was truncated, KEDIT may execute the surviving lines and silently skip the rest. A byte-level inspection tells you exactly where the file ends and what was lost.

Can you recover a macro that was overwritten by another file?

Sometimes. If the old content still exists in unallocated disk space or a filesystem shadow copy, it may be extractable. Success depends on how much has been written since the incident, so stop using the drive if this happens.

Do you recover other KEDIT configuration files?

Yes. If your setup spans multiple profiles, macros, or related editor files, send them together. Recovering the set at once usually costs less than separate jobs.

If a .ked file will not load, throws errors, or was lost to corruption, send it to our team for a free evaluation. We will tell you exactly what is recoverable before you pay anything.

Send us your .ked file for a free evaluation

Our recovery engineers will tell you exactly what can be recovered — at no cost. There is no charge if we cannot recover your data.

Start a free evaluation