SurvFM enables tabular foundation models for right-censored survival prediction
General-purpose tabular foundation models can be adapted across prediction tasks, but right censoring leaves many event times unknown and prevents their direct use as regression labels. SurvFM converts censored follow-up into observation-level targets for restricted mean survival time (RMST), the expected event-free time accumulated up to a chosen horizon. These targets allow multiple tabular foundation models to predict RMST without architectural modification. In simulations with known RMST, SurvFM achieved leading RMST accuracy and competitive discrimination across heterogeneous settings. Its targets were more accurate than simpler outcome constructions, with larger gains as censoring increased. Across 55 public datasets, SurvFM models remained in the leading performance band under full and restricted training. Models fitted in either of two public myelodysplastic syndrome cohorts retained competitive performance in the other without refitting. SurvFM separates censoring handling from prediction architecture, allowing advances in general-purpose tabular prediction to enter survival analysis without model-specific redesign.